Fixed building

This commit is contained in:
CommanderRedYT
2021-11-21 02:08:43 +01:00
committed by 0xFEEDC0DE64
parent 1b3c17c55d
commit 89c3de03d3
2 changed files with 4 additions and 0 deletions

View File

@ -448,6 +448,8 @@ extern "C" void app_main()
handle_dns_announce(); handle_dns_announce();
#endif #endif
calculateStatistics(); calculateStatistics();
#ifdef FEATURE_CLOUD
sendUdpCloudPacket(); sendUdpCloudPacket();
#endif
} }
} }

View File

@ -1,5 +1,6 @@
constexpr const char * const TAG = "bobbycloud"; constexpr const char * const TAG = "bobbycloud";
#ifdef FEATURE_CLOUD
// 3rd party includes // 3rd party includes
#include <ArduinoJson.h> #include <ArduinoJson.h>
#include <FastLED.h> #include <FastLED.h>
@ -174,3 +175,4 @@ void sendUdpCloudPacket()
ESP_LOGD(TAG, "now: %s", buf.c_str()); ESP_LOGD(TAG, "now: %s", buf.c_str());
} }
} }
#endif