Moved FEATURE_ESPNOW into config-system

This commit is contained in:
CommanderRedYT committed 2022-02-13 02:12:29 +01:00
1 parent fb0bed29bf
commit d29514a167
22 files changed
+13 -56

No files matched your search

-4
View File
@@ -49,9 +49,7 @@
#include "ble_bobby.h"
#include "webserver.h"
#include "ledstrip.h"
#ifdef FEATURE_ESPNOW
#include "espnowfunctions.h"
#endif
#include "cloud.h"
#include "udpcloud.h"
#include "modes.h"
@@ -108,9 +106,7 @@ BobbySchedulerTask schedulerTasksArr[] {
BobbySchedulerTask { "ble", initBle, handleBle, 100ms },
BobbySchedulerTask { "webserver", initWebserver, handleWebserver, 100ms },
BobbySchedulerTask { "ledstrip", initLedStrip, updateLedStrip, 30ms },
#ifdef FEATURE_ESPNOW
BobbySchedulerTask { "espnow", espnow::initESPNow, espnow::handle, 100ms },
#endif
BobbySchedulerTask { "cloud", initCloud, updateCloud, 50ms },
BobbySchedulerTask { "udpcloud", udpCloudInit, udpCloudUpdate, 50ms },
BobbySchedulerTask { "drivingmode", initDrivingMode, updateDrivingMode, 20ms },