Skip to content

Commit

Permalink
0.5.103
Browse files Browse the repository at this point in the history
fix ESP32 build
  • Loading branch information
lumapu committed Mar 19, 2023
1 parent ce6267a commit 296597a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/publisher/pubMqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ class PubMqtt {
publish(subtopics[MQTT_UPTIME], val);
publish(subtopics[MQTT_RSSI], String(WiFi.RSSI()).c_str());
publish(subtopics[MQTT_FREE_HEAP], String(ESP.getFreeHeap()).c_str());
#ifndef ESP32
publish(subtopics[MQTT_HEAP_FRAG], String(ESP.getHeapFragmentation()).c_str());
#endif
}

bool tickerSun(uint32_t sunrise, uint32_t sunset, uint32_t offs, bool disNightCom) {
Expand Down

0 comments on commit 296597a

Please sign in to comment.