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
|
case BTN_UP: // Reset config
|
||||||
f_unlink("r0ket.cfg");
|
f_unlink("r0ket.cfg");
|
||||||
break;
|
break;
|
||||||
case BTN_RIGHT:
|
|
||||||
GLOBAL(develmode)=1;
|
|
||||||
applyConfig();
|
|
||||||
break;
|
|
||||||
case BTN_DOWN:
|
case BTN_DOWN:
|
||||||
usbMSCInit();
|
usbMSCInit();
|
||||||
while(1)
|
while(1)
|
||||||
|
@ -41,6 +37,10 @@ void main_default(void) {
|
||||||
};
|
};
|
||||||
|
|
||||||
readConfig();
|
readConfig();
|
||||||
|
if(getInputRaw()==BTN_RIGHT){
|
||||||
|
GLOBAL(develmode)=1;
|
||||||
|
applyConfig();
|
||||||
|
};
|
||||||
randomInit();
|
randomInit();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue