reset invalidVersion just in case

This commit is contained in:
andrekir 2022-10-13 00:02:00 -03:00
parent 22671a73db
commit 868a0f7bd3

View file

@ -366,7 +366,10 @@ class BluetoothInterface(
.contains(EOL_FROMRADIO_CHARACTER)) {
invalidVersion = true
getCharacteristic(EOL_FROMRADIO_CHARACTER)
} else getCharacteristic(BTM_FROMRADIO_CHARACTER)
} else {
invalidVersion = false
getCharacteristic(BTM_FROMRADIO_CHARACTER)
}
// We treat the first send by a client as special
isFirstSend = true