mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 07:06:36 +01:00
Another flashing Bug fix
In case the flashing of the C6 is started before the full Boot sequence the AP will end in a failed state
This commit is contained in:
@@ -821,7 +821,8 @@ void APTask(void* parameter) {
|
||||
#ifdef HAS_RGB_LED
|
||||
showColorPattern(CRGB::Red, CRGB::Yellow, CRGB::Red);
|
||||
#endif
|
||||
setAPstate(false, AP_STATE_FAILED);
|
||||
if(apInfo.state != AP_STATE_FLASHING)// In case we are flashing already we do not want to end in a failed AP
|
||||
setAPstate(false, AP_STATE_FAILED);
|
||||
} else {
|
||||
// AP unavailable, maybe time to flash?
|
||||
setAPstate(false, AP_STATE_OFFLINE);
|
||||
|
||||
Reference in New Issue
Block a user