removed bugs

http-comm
Ondřej Hruška 7 years ago
parent da6c5bf5be
commit 03c7f4d0ad
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      user/cgi_sockets.c
  2. 2
      user/screen.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
}

@ -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);

Loading…
Cancel
Save