Skip to content

Commit 91a78b2

Browse files
committed
Fix missing OnConnected event
1 parent 261c0b5 commit 91a78b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/hid_BLE.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ void onConnectionStatus(bool connected)
6262
{
6363
if (autoPowerOffTimer != nullptr)
6464
esp_timer_stop(autoPowerOffTimer);
65+
OnConnected::notify();
6566
}
6667
else // disconnected
6768
{

0 commit comments

Comments
 (0)