longer isp and reset delays
This commit is contained in:
parent
ae5a7c3f07
commit
cca3c4ccad
|
@ -24,7 +24,9 @@ void main_default(void) {
|
||||||
|
|
||||||
switch(getInputRaw()){
|
switch(getInputRaw()){
|
||||||
case BTN_ENTER:
|
case BTN_ENTER:
|
||||||
ISPandReset();
|
lcdPrint("ISP activated");
|
||||||
|
lcdRefresh();
|
||||||
|
ReinvokeISP();
|
||||||
break;
|
break;
|
||||||
case BTN_UP: // Reset config
|
case BTN_UP: // Reset config
|
||||||
saveConfig();
|
saveConfig();
|
||||||
|
|
|
@ -87,7 +87,7 @@ void ISPandReset(void){
|
||||||
delayms(500);
|
delayms(500);
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
EnableWatchdog(1000*5);
|
EnableWatchdog(1000*15);
|
||||||
ReinvokeISP();
|
ReinvokeISP();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue