turn off nrf52 ble while debugging

This commit is contained in:
Kevin Hester 2021-01-16 11:41:50 +08:00
parent a0dd051511
commit 3a2c17998e

View File

@ -51,7 +51,7 @@ void getMacAddr(uint8_t *dmac)
NRF52Bluetooth *nrf52Bluetooth; NRF52Bluetooth *nrf52Bluetooth;
static bool bleOn = false; static bool bleOn = false;
static const bool enableBle = true; // Set to false for easier debugging static const bool enableBle = false; // Set to false for easier debugging
void setBluetoothEnable(bool on) void setBluetoothEnable(bool on)
{ {