Skip to content

Commit 9696118

Browse files
committed
Fix GPIOViewer on ESP32 (needs upcoming core change)
1 parent f0c12b6 commit 9696118

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,9 @@ void GVHandleEvents(void) {
452452

453453
GV->WebServer->setContentLength(CONTENT_LENGTH_UNKNOWN); // The payload can go on forever
454454
GV->WebServer->sendContent_P(HTTP_GV_EVENT);
455-
455+
#ifdef ESP32
456+
GVWebClient.setSSE(true);
457+
#endif
456458
GV->sse_ready = true; // Ready for async updates
457459
if (GV->sampling != 100) {
458460
GV->ticker.attach_ms(GV->sampling, GVMonitorTask); // Use Tasmota Scheduler (100) or Ticker (20..99,101..1000)

0 commit comments

Comments
 (0)