ESP32 Rx fixes - (v2) ESP8266 & ESP32 UART optimizations #398

This commit is contained in:
proddy
2020-08-20 20:40:08 +02:00
parent 6c1a2940c8
commit 61abd930b5
3 changed files with 17 additions and 11 deletions

View File

@@ -811,11 +811,12 @@ void EMSESP::loop() {
return;
}
system_.loop(); // does LED and checks system health, and syslog service
shower_.loop(); // check for shower on/off
sensors_.loop(); // this will also send out via MQTT
mqtt_.loop(); // sends out anything in the queue via MQTT
console_.loop(); // telnet/serial console
system_.loop(); // does LED and checks system health, and syslog service
shower_.loop(); // check for shower on/off
sensors_.loop(); // this will also send out via MQTT
mqtt_.loop(); // sends out anything in the queue via MQTT
console_.loop(); // telnet/serial console
rxservice_.loop(); // process any incoming Rx telegrams
// force a query on the EMS devices to fetch latest data at a set interval (1 min)
if ((uuid::get_uptime() - last_fetch_ > EMS_FETCH_FREQUENCY)) {