mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-08 01:07:06 +01:00
rfb: a little bit more RELAY_SUPPORT checks
This commit is contained in:
@@ -378,8 +378,10 @@ void heartbeat() {
|
||||
if (hb_cfg & Heartbeat::Freeheap)
|
||||
mqttSend(MQTT_TOPIC_FREEHEAP, String(heap_stats.available).c_str());
|
||||
|
||||
#if RELAY_SUPPORT
|
||||
if (hb_cfg & Heartbeat::Relay)
|
||||
relayMQTT();
|
||||
#endif
|
||||
|
||||
#if (LIGHT_PROVIDER != LIGHT_PROVIDER_NONE)
|
||||
if (hb_cfg & Heartbeat::Light)
|
||||
|
||||
Reference in New Issue
Block a user