Skip to content

Commit

Permalink
Proform Treadmill 8.5 #1955
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 5, 2024
1 parent 05b4b6e commit 98de190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/proformtreadmill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,7 @@ void proformtreadmill::characteristicChanged(const QLowEnergyCharacteristic &cha
settings.value(QZSettings::proform_treadmill_z1300i, QZSettings::default_proform_treadmill_z1300i).toBool();
bool nordictrack_s20_treadmill = settings.value(QZSettings::nordictrack_s20_treadmill,
QZSettings::default_nordictrack_s20_treadmill).toBool();
bool proform_8_5_treadmill = settings.value(QZSettings::proform_8_5_treadmill, QZSettings::default_proform_8_5_treadmill).toBool();

double weight = settings.value(QZSettings::weight, QZSettings::default_weight).toFloat();

Expand All @@ -1530,7 +1531,7 @@ void proformtreadmill::characteristicChanged(const QLowEnergyCharacteristic &cha
(newValue.at(4) != 0x02 || (newValue.at(5) != 0x31 && newValue.at(5) != 0x34))) ||
((norditrack_s25i_treadmill) && (newValue.at(4) != 0x02 || (newValue.at(5) != 0x2f))) ||
((nordictrack_t65s_treadmill || proform_pro_1000_treadmill || nordictrack_t65s_83_treadmill || nordictrack_s30_treadmill ||
nordictrack_s20_treadmill || proform_treadmill_se || proform_cadence_lt) &&
nordictrack_s20_treadmill || proform_treadmill_se || proform_cadence_lt || proform_8_5_treadmill) &&
(newValue.at(4) != 0x02 || newValue.at(5) != 0x2e)) ||
(((uint8_t)newValue.at(12)) == 0xFF && ((uint8_t)newValue.at(13)) == 0xFF &&
((uint8_t)newValue.at(14)) == 0xFF && ((uint8_t)newValue.at(15)) == 0xFF &&
Expand Down

0 comments on commit 98de190

Please sign in to comment.