removed bugs
This commit is contained in:
@@ -149,6 +149,8 @@ void ICACHE_FLASH_ATTR screen_notifyChange(ScreenNotifyTopics topics)
|
|||||||
termconf->display_tout_ms = SCR_DEF_DISPLAY_TOUT_MS;
|
termconf->display_tout_ms = SCR_DEF_DISPLAY_TOUT_MS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pendingBroadcastTopics |= topics;
|
||||||
|
|
||||||
// NOTE: the timer is restarted if already running
|
// NOTE: the timer is restarted if already running
|
||||||
TIMER_START(&updateNotifyTim, updateNotifyCb, termconf->display_tout_ms, 0); // note - this adds latency to beep
|
TIMER_START(&updateNotifyTim, updateNotifyCb, termconf->display_tout_ms, 0); // note - this adds latency to beep
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1821,8 +1821,6 @@ screenSerializeToBuffer(char *buffer, size_t buf_len, ScreenNotifyTopics topics,
|
|||||||
ss->current_topic = 0; // to be filled
|
ss->current_topic = 0; // to be filled
|
||||||
strncpy(ss->lastChar, " ", 4);
|
strncpy(ss->lastChar, " ", 4);
|
||||||
|
|
||||||
dbg("NOTIFY -> %02X", topics);
|
|
||||||
|
|
||||||
bufput_c('U'); // - stands for "update"
|
bufput_c('U'); // - stands for "update"
|
||||||
|
|
||||||
bufput_utf8(topics);
|
bufput_utf8(topics);
|
||||||
|
|||||||
Reference in New Issue
Block a user