nrf52 soft device will watchdog if you use ICE while BT on... (#4189)

so have debugger disable bluetooth.
This commit is contained in:
geeksville
2024-06-28 04:48:55 -07:00
committed by GitHub
parent 51f3ce5e60
commit f86a0e5228
3 changed files with 17 additions and 1 deletions

View File

@@ -63,7 +63,8 @@ static void initBrownout()
// We don't bother with setting up brownout if soft device is disabled - because during production we always use softdevice
}
static const bool useSoftDevice = true; // Set to false for easier debugging
// This is a public global so that the debugger can set it to false automatically from our gdbinit
bool useSoftDevice = true; // Set to false for easier debugging
#if !MESHTASTIC_EXCLUDE_BLUETOOTH
void setBluetoothEnable(bool enable)