mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-15 04:16:27 +03:00
remove DEBUG for bus connection testing
This commit is contained in:
@@ -203,7 +203,7 @@ class EMSbus {
|
|||||||
|
|
||||||
// checks every 30 seconds if the EMS bus is still alive
|
// checks every 30 seconds if the EMS bus is still alive
|
||||||
static bool bus_connected() {
|
static bool bus_connected() {
|
||||||
#if defined(EMSESP_STANDALONE) || defined(EMSESP_TEST)
|
#if defined(EMSESP_STANDALONE)
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
if ((uuid::get_uptime() - last_bus_activity_) > EMS_BUS_TIMEOUT) {
|
if ((uuid::get_uptime() - last_bus_activity_) > EMS_BUS_TIMEOUT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user