Skip to content

Commit a0ae4b2

Browse files
author
root
committed
fix: parse 19-byte PASYOU bike packets
1 parent 4d534e2 commit a0ae4b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/devices/trxappgateusbbike/trxappgateusbbike.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void trxappgateusbbike::characteristicChanged(const QLowEnergyCharacteristic &ch
237237
lastPacket = newValue;
238238
if ((newValue.length() != 21 && (bike_type != JLL_IC400 && bike_type != ASVIVA && bike_type != FYTTER_RI08 &&
239239
bike_type != TUNTURI && bike_type != TUNTURI_2 && bike_type != TOORX_SRX_500 &&
240-
bike_type != FAL_SPORTS && bike_type != HAMMER_SPEED_BIKE_S)) ||
240+
bike_type != FAL_SPORTS && bike_type != PASYOU && bike_type != HAMMER_SPEED_BIKE_S)) ||
241241
(newValue.length() != 19 && (bike_type == JLL_IC400 || bike_type == ASVIVA || bike_type == FYTTER_RI08 ||
242242
bike_type == PASYOU || bike_type == HAMMER_SPEED_BIKE_S)) ||
243243
(newValue.length() != 20 && newValue.length() != 21 &&

0 commit comments

Comments
 (0)