diff --git a/firmware/applications/exe.c b/firmware/applications/exe.c index eaedfa8..7559a92 100644 --- a/firmware/applications/exe.c +++ b/firmware/applications/exe.c @@ -2,13 +2,10 @@ #include #include "basic/basic.h" - #include "lcd/lcd.h" #include "lcd/allfonts.h" #include "lcd/print.h" - #include "usb/usbmsc.h" - #include "filesystem/ff.h" #include "filesystem/select.h" #include "filesystem/execute.h" @@ -21,7 +18,6 @@ void execute_menu(void){ lcdRefresh(); }; - void msc_menu(void){ DoString(0,8,"MSC Enabled."); lcdDisplay(0); @@ -62,12 +58,10 @@ const struct MENU_DEF menu_volt = {"Akku", &adc_check}; const struct MENU_DEF menu_nop = {"---", NULL}; const struct MENU_DEF menu_msc = {"MSC", &msc_menu}; const struct MENU_DEF menu_exe = {"Exec", &execute_menu}; -//const struct MENU_DEF menu_exesel = {"Exec2", &select_menu}; static menuentry menu[] = { &menu_msc, &menu_exe, -// &menu_exesel, &menu_nop, &menu_mirror, &menu_volt, @@ -81,18 +75,6 @@ void main_exe(void) { lcdSetPixel(0,0,0); - backlightInit(); - font=&Font_7x8; - - FATFS FatFs; /* File system object for logical drive */ - FRESULT res; - res=f_mount(0, &FatFs); - if(res!=FR_OK){ - lcdPrint("Mount:"); - lcdPrintln(f_get_rc_string(res)); - getInput(); - }; - while (1) { lcdFill(0); // clear display buffer lcdDisplay(0);