Moved FEATURE_BLE into config-system

This commit is contained in:
CommanderRedYT
2022-01-18 11:37:53 +01:00
parent 55c9e4ac93
commit c4451bf1cb
17 changed files with 11 additions and 42 deletions

View File

@ -48,9 +48,7 @@
#ifdef FEATURE_OTA
#include "ota.h"
#endif
#ifdef FEATURE_BLE
#include "ble_bobby.h"
#endif
#ifdef FEATURE_WEBSERVER
#include "webserver.h"
#endif
@ -113,9 +111,7 @@ BobbySchedulerTask schedulerTasksArr[] {
#ifdef FEATURE_OTA
BobbySchedulerTask { "ota", initOta, handleOta, 50ms },
#endif
#ifdef FEATURE_BLE
BobbySchedulerTask { "ble", initBle, handleBle, 100ms },
#endif
#ifdef FEATURE_WEBSERVER
BobbySchedulerTask { "webserver", initWebserver, handleWebserver, 100ms },
#endif