File tree Expand file tree Collapse file tree
src/devices/horizontreadmill Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -987,7 +987,7 @@ void horizontreadmill::update() {
987987 requestSpeed = -1 ;
988988 }
989989 if (requestInclination != -100 ) {
990- if (!FS_TREADMILL || !areInclinationSettingsDefault ()) {
990+ if (!adidas_treadmill && (! FS_TREADMILL || !areInclinationSettingsDefault () )) {
991991 requestInclination = treadmillInclinationOverrideReverse (requestInclination);
992992 }
993993
@@ -2690,6 +2690,7 @@ void horizontreadmill::deviceDiscovered(const QBluetoothDeviceInfo &device) {
26902690 minInclination = -6.0 ;
26912691 qDebug () << QStringLiteral (" SOLE TT8 TREADMILL workaround ON!" );
26922692 } else if (device.name ().toUpper ().startsWith (QStringLiteral (" ADIDAS" ))) {
2693+ adidas_treadmill = true ;
26932694 minInclination = -6.0 ;
26942695 maxInclination = 40.0 ;
26952696 qDebug () << QStringLiteral (" ADIDAS TREADMILL workaround ON!" );
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ class horizontreadmill : public treadmill {
103103 bool trx3500_treadmill = false ;
104104 bool sole_f85_treadmill = false ;
105105 bool sole_f89_treadmill = false ;
106+ bool adidas_treadmill = false ;
106107 bool schwinn_810_treadmill = false ;
107108 bool yesoul_treadmill = false ;
108109 bool technogymrun = false ;
You can’t perform that action at this time.
0 commit comments