make develmode work
This commit is contained in:
parent
26d0ff0b19
commit
1bfd14c17d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue