Remove bunk code

pull/3404/head^2
Ben Meadors 2024-03-13 15:06:52 -05:00
rodzic 216f85ff22
commit 3995e2f708
1 zmienionych plików z 4 dodań i 9 usunięć

Wyświetl plik

@ -202,8 +202,6 @@ void setupMeshService(void)
toRadio.begin(); toRadio.begin();
} }
// FIXME, turn off soft device access for debugging
static bool isSoftDeviceAllowed = true;
static uint32_t configuredPasskey; static uint32_t configuredPasskey;
void NRF52Bluetooth::shutdown() void NRF52Bluetooth::shutdown()
@ -281,14 +279,11 @@ void NRF52Bluetooth::setup()
LOG_INFO("Configuring the Mesh bluetooth service\n"); LOG_INFO("Configuring the Mesh bluetooth service\n");
setupMeshService(); setupMeshService();
// Supposedly debugging works with soft device if you disable advertising // Setup the advertising packet(s)
if (isSoftDeviceAllowed) { LOG_INFO("Setting up the advertising payload(s)\n");
// Setup the advertising packet(s) startAdv();
LOG_INFO("Setting up the advertising payload(s)\n");
startAdv();
LOG_INFO("Advertising\n"); LOG_INFO("Advertising\n");
}
} }
void NRF52Bluetooth::resumeAdverising() void NRF52Bluetooth::resumeAdverising()