Skip to content

Commit

Permalink
Proform CX Carbon: some resistance levels missing #1674
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 26, 2023
1 parent 3f83e4a commit a3f6bb8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="org.cagnulen.qdomyoszwift" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:versionName="2.16.13" android:versionCode="642" android:installLocation="auto">
<manifest package="org.cagnulen.qdomyoszwift" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:versionName="2.16.14" android:versionCode="643" android:installLocation="auto">
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<!-- %%INSERT_PERMISSIONS -->
Expand Down
2 changes: 1 addition & 1 deletion src/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ ApplicationWindow {
}

ItemDelegate {
text: "version 2.16.13"
text: "version 2.16.14"
width: parent.width
}

Expand Down
3 changes: 3 additions & 0 deletions src/proformbike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ void proformbike::characteristicChanged(const QLowEnergyCharacteristic &characte
m_pelotonResistance = 30;
break;
case 0x0b:
case 0x0c:
Resistance = 5;
m_pelotonResistance = 35;
break;
Expand All @@ -1050,6 +1051,7 @@ void proformbike::characteristicChanged(const QLowEnergyCharacteristic &characte
m_pelotonResistance = 40;
break;
case 0x10:
case 0x11:
Resistance = 7;
m_pelotonResistance = 45;
break;
Expand Down Expand Up @@ -1078,6 +1080,7 @@ void proformbike::characteristicChanged(const QLowEnergyCharacteristic &characte
m_pelotonResistance = 75;
break;
case 0x21:
case 0x22:
Resistance = 14;
m_pelotonResistance = 80;
break;
Expand Down
2 changes: 1 addition & 1 deletion src/qdomyos-zwift.pri
Original file line number Diff line number Diff line change
Expand Up @@ -815,4 +815,4 @@ INCLUDEPATH += purchasing/inapp

WINRT_MANIFEST = AppxManifest.xml

VERSION = 2.16.13
VERSION = 2.16.14

0 comments on commit a3f6bb8

Please sign in to comment.