We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64116cd commit afbd9e2Copy full SHA for afbd9e2
1 file changed
src/modules/StatusLEDModule.cpp
@@ -50,9 +50,10 @@ int StatusLEDModule::handleStatusUpdate(const meshtastic::Status *arg)
50
break;
51
}
52
case meshtastic::BluetoothStatus::ConnectionState::CONNECTED: {
53
- ble_state = connected;
54
- PAIRING_LED_starttime = millis();
55
- break;
+ if (ble_state != connected) {
+ ble_state = connected;
+ PAIRING_LED_starttime = millis();
56
+ }
57
58
59
0 commit comments