WIP stubify to get app building without CONFIG_BLUEDROID (BLE disabled)

This commit is contained in:
geeksville
2020-07-21 11:16:14 -07:00
parent 1e86365167
commit 6aa28f55dd
9 changed files with 70 additions and 35 deletions

View File

@@ -6,6 +6,8 @@
#include <Update.h>
#include <esp_gatt_defs.h>
#ifdef CONFIG_BLUEDROID_ENABLED
SimpleAllocator btPool;
bool _BLEClientConnected = false;
@@ -321,3 +323,12 @@ void loopBLE()
{
bluetoothRebootCheck();
}
#else
/// Given a level between 0-100, update the BLE attribute
void updateBatteryLevel(uint8_t level) {}
void deinitBLE() {}
void loopBLE() {}
#endif