Minor tweaks for ESP8266
- update was restarting device on some occasions - a bit of throttling in UI
This commit is contained in:
@@ -215,7 +215,7 @@ bool requestJSONBufferLock(uint8_t module)
|
||||
}
|
||||
unsigned long now = millis();
|
||||
|
||||
while (jsonBufferLock && millis()-now < 100) delay(1); // wait for fraction for buffer lock
|
||||
while (jsonBufferLock && millis()-now < 250) delay(1); // wait for fraction for buffer lock
|
||||
|
||||
if (jsonBufferLock) {
|
||||
DEBUG_PRINT(F("ERROR: Locking JSON buffer failed! (still locked by "));
|
||||
|
||||
Reference in New Issue
Block a user