save some more bytes

This commit is contained in:
Stefan `Sec` Zehl 2011-08-06 02:43:32 +02:00
parent aba4a949a9
commit ea6638c795
1 changed files with 9 additions and 6 deletions

View File

@ -12,16 +12,19 @@
/**************************************************************************/
static void execute_it (const char *type)
{
while(getInput()!=BTN_NONE);
executeSelect(type);
lcdRefresh();
}
//# MENU execute
void execute_menu(void){
while(getInput()!=BTN_NONE);
executeSelect("C0D");
lcdRefresh();
execute_it ("C0D");
};
//# MENU |devel
void execute_devel(void){
while(getInput()!=BTN_NONE);
executeSelect("INT");
lcdRefresh();
execute_it ("INT");
};