diff --git a/README.md b/README.md index e6a257a53..ad32c92e6 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,9 @@ Zwift bridge for Treadmills and Bike! |:---|:---:|:---:|:---:|:---:|---:| |Resistance shifting with bluetooth remote|X||X||| |TTS support|X|X|X|X|| +|Zwift Play & Click support|X||||| +|MQTT integration|X|X|X|X|| +|OpenSoundControl integration|X|X|X|X|| ### Installation diff --git a/src/devices/ftmsbike/ftmsbike.cpp b/src/devices/ftmsbike/ftmsbike.cpp index e5a3cda9f..19e902612 100644 --- a/src/devices/ftmsbike/ftmsbike.cpp +++ b/src/devices/ftmsbike/ftmsbike.cpp @@ -429,7 +429,7 @@ void ftmsbike::characteristicChanged(const QLowEnergyCharacteristic &characteris } // Wattbike Atom First Generation - Display Gears - if(characteristic.uuid() == QBluetoothUuid(QStringLiteral("b4cc1224-bc02-4cae-adb9-1217ad2860d1")) && + if(WATTBIKE && characteristic.uuid() == QBluetoothUuid(QStringLiteral("b4cc1224-bc02-4cae-adb9-1217ad2860d1")) && newValue.length() > 3 && newValue.at(1) == 0x03 && (uint8_t)newValue.at(2) == 0xb6) { uint8_t gear = newValue.at(3); qDebug() << "watt bike gears" << gear;