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

@@ -1,6 +1,5 @@
#include "BluetoothSoftwareUpdate.h"
#include "BluetoothUtil.h"
#include "CallbackCharacteristic.h"
#include "RadioLibInterface.h"
#include "configuration.h"
#include "../concurrency/LockGuard.h"
@@ -11,7 +10,9 @@
#include <Update.h>
#include <esp_gatt_defs.h>
//using namespace meshtastic;
#ifdef CONFIG_BLUEDROID_ENABLED
#include "CallbackCharacteristic.h"
CRC32 crc;
uint32_t rebootAtMsec = 0; // If not zero we will reboot at this time (used to reboot shortly after the update completes)
@@ -176,4 +177,6 @@ void destroyUpdateService()
assert(resultC);
resultC = NULL;
}
}
#endif