From 99def6458f099fba4da98eb818ee9a6cbf3e72a5 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Thu, 13 Jul 2023 21:11:33 +0200 Subject: [PATCH] live view: more updates in non-fastpath builds --- wled00/ws.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wled00/ws.cpp b/wled00/ws.cpp index ee242af51c..f679e77ddc 100644 --- a/wled00/ws.cpp +++ b/wled00/ws.cpp @@ -9,7 +9,11 @@ static volatile uint16_t wsLiveClientId = 0; // WLEDMM added "static" static volatile unsigned long wsLastLiveTime = 0; // WLEDMM //uint8_t* wsFrameBuffer = nullptr; +#if !defined(ARDUINO_ARCH_ESP32) || defined(WLEDMM_FASTPATH) // WLEDMM #define WS_LIVE_INTERVAL 160 +#else +#define WS_LIVE_INTERVAL 80 +#endif void wsEvent(AsyncWebSocket * server, AsyncWebSocketClient * client, AwsEventType type, void * arg, uint8_t *data, size_t len) {