todo progress

This commit is contained in:
geeksville
2020-02-04 21:24:11 -08:00
parent 37eca63e58
commit 1929d38226
2 changed files with 16 additions and 10 deletions

View File

@@ -359,8 +359,14 @@ void setup()
//}
service.init();
BLEServer *serve = initBLE(getDeviceName(), HW_VENDOR, APP_VERSION); // FIXME, use a real name based on the macaddr
createMeshBluetoothService(serve);
bool useBluetooth = true;
if (useBluetooth)
{
DEBUG_MSG("Starting bluetooth\n");
BLEServer *serve = initBLE(getDeviceName(), HW_VENDOR, APP_VERSION); // FIXME, use a real name based on the macaddr
createMeshBluetoothService(serve);
}
}
void loop()