Moved FEATURE_OTA into config-system

This commit is contained in:
CommanderRedYT
2022-01-18 13:19:47 +01:00
parent c4451bf1cb
commit 5908e2c4ca
38 changed files with 83 additions and 101 deletions

View File

@@ -45,9 +45,7 @@
#ifdef FEATURE_SERIAL
#include "serial_bobby.h"
#endif
#ifdef FEATURE_OTA
#include "ota.h"
#endif
#include "ble_bobby.h"
#ifdef FEATURE_WEBSERVER
#include "webserver.h"
@@ -108,9 +106,7 @@ BobbySchedulerTask schedulerTasksArr[] {
#ifdef FEATURE_SERIAL
BobbySchedulerTask { "serial", initSerial, updateSerial, 50ms },
#endif
#ifdef FEATURE_OTA
BobbySchedulerTask { "ota", initOta, handleOta, 50ms },
#endif
BobbySchedulerTask { "ble", initBle, handleBle, 100ms },
#ifdef FEATURE_WEBSERVER
BobbySchedulerTask { "webserver", initWebserver, handleWebserver, 100ms },