crashtest-r0ket/firmware/applications/final/exe.c

31 lines
582 B
C
Raw Permalink Normal View History

#include <sysinit.h>
#include <string.h>
#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"
/**************************************************************************/
2011-08-06 00:43:32 +00:00
static void execute_it (const char *type)
{
while(getInput()!=BTN_NONE);
executeSelect(type);
lcdRefresh();
}
//# MENU execute
void execute_menu(void){
2011-08-06 00:43:32 +00:00
execute_it ("C0D");
};
2011-08-04 23:58:12 +00:00
//# MENU |devel
void execute_devel(void){
2011-08-06 00:43:32 +00:00
execute_it ("INT");
2011-08-04 23:58:12 +00:00
};