Commits

Giovanni C committed db6bc75

650D: Fix task_dispatch_hook

  • Participants
  • Parent commits d43dd95

Comments (0)

Files changed (3)

platform/650D.101/gui.c

 
 static void my_gui_main_task()
 {
+    bmp_printf(FONT_LARGE,200,200,"GUI_INIT");
 	struct event * event = NULL;
 	int index = 0;
 	void* funcs[GMT_NFUNCS];

platform/650D.101/gui.h

 
     #define BGMT_REC 0x1E
 
-
-    #define BGMT_PRESS_ZOOMIN_MAYBE 0x12
-    #define BGMT_UNPRESS_ZOOMIN_MAYBE 0x13
-    //~ #define BGMT_PRESS_ZOOMOUT_MAYBE 0x1234 // no zoom out button in play mode?!
-    //~ #define BGMT_UNPRESS_ZOOMOUT_MAYBE 0x5678
-
     #define BGMT_LV 0x1E
     #define BGMT_Q 0x1D
     //~ #define BGMT_Q_ALT 0x67
     #define BGMT_PRESS_FULLSHUTTER 0x52
     #define BGMT_UNPRESS_FULLSHUTTER 0x53
 
-    #define BGMT_FLASH_MOVIE 0
-    #define BGMT_PRESS_FLASH_MOVIE 0
-    #define BGMT_UNPRESS_FLASH_MOVIE 0
-    #define FLASH_BTN_MOVIE_MODE 0
-    #define BGMT_ISO_MOVIE 0
-    #define BGMT_PRESS_ISO_MOVIE 0
-    #define BGMT_UNPRESS_ISO_MOVIE 0
-
     #define GMT_GUICMD_PRESS_BUTTON_SOMETHING 0x52 // unhandled buttons?
 
     #define BGMT_LIGHT 0x20 // the little button for top screen backlight

platform/650D.101/stubs.S

 NSTUB(0xFF0C8228, strlen)
 NSTUB(0xFFA52930 - RAM_OFFSET, take_semaphore)
 NSTUB(0xFFA52EC0 - RAM_OFFSET, task_create)
-    NSTUB(   0x3E1C0, task_dispatch_hook )
+NSTUB(   0x232C4, task_dispatch_hook )
 NSTUB(0xFFA581D8 - RAM_OFFSET, task_trampoline)
 NSTUB(0xFFA6153C - RAM_OFFSET, vsnprintf) // not sure it gets called from RAM
 NSTUB(0xFF3F6AA4, vram_get_number)