make develmode work

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 11:54:36 +02:00
parent 26d0ff0b19
commit 1bfd14c17d
1 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,6 @@ void main_default(void) {
case BTN_UP: // Reset config
f_unlink("r0ket.cfg");
break;
case BTN_RIGHT:
GLOBAL(develmode)=1;
applyConfig();
break;
case BTN_DOWN:
usbMSCInit();
while(1)
@ -41,6 +37,10 @@ void main_default(void) {
};
readConfig();
if(getInputRaw()==BTN_RIGHT){
GLOBAL(develmode)=1;
applyConfig();
};
randomInit();
return;