diff --git a/user/cgi_sockets.c b/user/cgi_sockets.c index baddd07..663dfac 100644 --- a/user/cgi_sockets.c +++ b/user/cgi_sockets.c @@ -149,6 +149,8 @@ void ICACHE_FLASH_ATTR screen_notifyChange(ScreenNotifyTopics topics) termconf->display_tout_ms = SCR_DEF_DISPLAY_TOUT_MS; } + pendingBroadcastTopics |= topics; + // NOTE: the timer is restarted if already running TIMER_START(&updateNotifyTim, updateNotifyCb, termconf->display_tout_ms, 0); // note - this adds latency to beep } diff --git a/user/screen.c b/user/screen.c index c4c5f70..87a0245 100644 --- a/user/screen.c +++ b/user/screen.c @@ -1821,8 +1821,6 @@ screenSerializeToBuffer(char *buffer, size_t buf_len, ScreenNotifyTopics topics, ss->current_topic = 0; // to be filled strncpy(ss->lastChar, " ", 4); - dbg("NOTIFY -> %02X", topics); - bufput_c('U'); // - stands for "update" bufput_utf8(topics);