Skip to content

Commit

Permalink
live view: more updates in non-fastpath builds
Browse files Browse the repository at this point in the history
  • Loading branch information
softhack007 committed Jul 13, 2023
1 parent 9a3a97e commit 99def64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wled00/ws.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 99def64

Please sign in to comment.