kopia lustrzana https://github.com/meshtastic/firmware
Remove bunk code
rodzic
216f85ff22
commit
3995e2f708
|
@ -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,15 +279,12 @@ 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
|
|
||||||
if (isSoftDeviceAllowed) {
|
|
||||||
// Setup the advertising packet(s)
|
// Setup the advertising packet(s)
|
||||||
LOG_INFO("Setting up the advertising payload(s)\n");
|
LOG_INFO("Setting up the advertising payload(s)\n");
|
||||||
startAdv();
|
startAdv();
|
||||||
|
|
||||||
LOG_INFO("Advertising\n");
|
LOG_INFO("Advertising\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void NRF52Bluetooth::resumeAdverising()
|
void NRF52Bluetooth::resumeAdverising()
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue