Filter BLE updates that don't change pairing status (#9333)

This commit is contained in:
Jonathan Bennett
2026-01-16 13:52:04 -06:00
committed by GitHub
parent 64116cd0d3
commit afbd9e2180

View File

@@ -50,9 +50,10 @@ int StatusLEDModule::handleStatusUpdate(const meshtastic::Status *arg)
break;
}
case meshtastic::BluetoothStatus::ConnectionState::CONNECTED: {
ble_state = connected;
PAIRING_LED_starttime = millis();
break;
if (ble_state != connected) {
ble_state = connected;
PAIRING_LED_starttime = millis();
}
}
}