Fix f072 compile

pull/52/head
DiSlord Live 3 years ago
parent 467f300b3d
commit a61de95423

@ -18,7 +18,7 @@
*/ */
#include "ch.h" #include "ch.h"
//#ifdef TINYSA_F303 #ifdef TINYSA_F303
#ifdef TINYSA_F072 #ifdef TINYSA_F072
#error "Remove comment for #ifdef TINYSA_F303" #error "Remove comment for #ifdef TINYSA_F303"
#endif #endif
@ -26,7 +26,7 @@
#define TINYSA4 #define TINYSA4
#endif #endif
#define TINYSA4_PROTO #define TINYSA4_PROTO
//#endif #endif
#ifdef TINYSA_F072 #ifdef TINYSA_F072
#ifdef TINYSA_F303 #ifdef TINYSA_F303

@ -82,7 +82,7 @@ enum {
}; };
#define NUMINPUT_LEN 12 #define NUMINPUT_LEN 12
#if FF_USE_LFN #ifdef FF_USE_LFN
#define TXTINPUT_LEN (FF_MAX_LFN - 4) #define TXTINPUT_LEN (FF_MAX_LFN - 4)
#else #else
#define TXTINPUT_LEN (8) #define TXTINPUT_LEN (8)
@ -6602,9 +6602,11 @@ ui_process_lever(void)
// case UI_KEYPAD: // case UI_KEYPAD:
// ui_process_keypad(); // ui_process_keypad();
// break; // break;
#ifdef __SD_FILE_BROWSER__
case UI_BROWSER: case UI_BROWSER:
ui_process_browser_lever(); ui_process_browser_lever();
break; break;
#endif
} }
} }
@ -6942,9 +6944,11 @@ void ui_process_touch(void)
case UI_MENU: case UI_MENU:
menu_apply_touch(touch_x, touch_y); menu_apply_touch(touch_x, touch_y);
break; break;
#ifdef __SD_FILE_BROWSER__
case UI_BROWSER: case UI_BROWSER:
browser_apply_touch(touch_x, touch_y); browser_apply_touch(touch_x, touch_y);
break; break;
#endif
} }
} }
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.