diff options
author | JF <jf@codingfield.com> | 2020-06-19 22:20:12 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-06-19 22:20:12 +0200 |
commit | 3dfba0b90d8549d17a2aa4d228f31fbdcf803e70 (patch) | |
tree | 5b697d7895791252bfe2e12aadb7e6cbf086714b /src/Components | |
parent | b8f9d706673769b43c390eef1b34bb589da6643b (diff) |
Update BLE status when BLE is connected.
Diffstat (limited to 'src/Components')
-rw-r--r-- | src/Components/Ble/NimbleController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Components/Ble/NimbleController.cpp b/src/Components/Ble/NimbleController.cpp index 8c4675b7..561dbce4 100644 --- a/src/Components/Ble/NimbleController.cpp +++ b/src/Components/Ble/NimbleController.cpp @@ -180,8 +180,8 @@ int NimbleController::OnGAPEvent(ble_gap_event *event) { StartAdvertising(); bleController.Disconnect(); } else { - //bleController.Connect(); - //systemTask.PushMessage(Pinetime::System::SystemTask::Messages::BleConnected); + bleController.Connect(); + systemTask.PushMessage(Pinetime::System::SystemTask::Messages::BleConnected); connectionHandle = event->connect.conn_handle; // Service discovery is deffered via systemtask } |