Trying setInitialState again

This commit is contained in:
Ben Meadors 2022-08-20 14:14:15 -05:00
parent 1b588c2437
commit 703eac7277
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks
passkeyShowing = false; passkeyShowing = false;
screen->stopBluetoothPinScreen(); screen->stopBluetoothPinScreen();
} }
// bluetoothPhoneAPI->setInitialState(); bluetoothPhoneAPI->setInitialState();
} }
virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc *desc) virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc *desc)

View File

@ -57,7 +57,7 @@ void onConnect(uint16_t conn_handle)
connection->getPeerName(central_name, sizeof(central_name)); connection->getPeerName(central_name, sizeof(central_name));
DEBUG_MSG("BLE Connected to %s\n", central_name); DEBUG_MSG("BLE Connected to %s\n", central_name);
// bluetoothPhoneAPI->setInitialState(); bluetoothPhoneAPI->setInitialState();
} }
/** /**