Fix GPIOViewer on ESP32 (needs upcoming core change)
This commit is contained in:
parent
f0c12b6e9c
commit
969611835c
@ -452,7 +452,9 @@ void GVHandleEvents(void) {
|
||||
|
||||
GV->WebServer->setContentLength(CONTENT_LENGTH_UNKNOWN); // The payload can go on forever
|
||||
GV->WebServer->sendContent_P(HTTP_GV_EVENT);
|
||||
|
||||
#ifdef ESP32
|
||||
GVWebClient.setSSE(true);
|
||||
#endif
|
||||
GV->sse_ready = true; // Ready for async updates
|
||||
if (GV->sampling != 100) {
|
||||
GV->ticker.attach_ms(GV->sampling, GVMonitorTask); // Use Tasmota Scheduler (100) or Ticker (20..99,101..1000)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user