WIP of adding NRF52 bluetooth API, we take a hardfault in Bluefruit init

This commit is contained in:
geeksville
2020-07-15 13:10:56 -07:00
parent 3400bcde85
commit 4147786b12
4 changed files with 123 additions and 95 deletions

View File

@@ -52,9 +52,9 @@ void setBluetoothEnable(bool on)
if (on != bleOn) {
if (on) {
if (!nrf52Bluetooth) {
DEBUG_MSG("DISABLING NRF52 BLUETOOTH WHILE DEBUGGING\n");
//nrf52Bluetooth = new NRF52Bluetooth();
//nrf52Bluetooth->setup();
// DEBUG_MSG("DISABLING NRF52 BLUETOOTH WHILE DEBUGGING\n");
nrf52Bluetooth = new NRF52Bluetooth();
nrf52Bluetooth->setup();
}
} else {
DEBUG_MSG("FIXME: implement BLE disable\n");