Fixed building
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user