Skip to content

Commit

Permalink
Nordictrack Elite 1000 (Issue #78)
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 29, 2024
1 parent 4ac1408 commit 938f08c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 3.3.32 #${{ steps.get_version.outputs.VERSION }}
tag_name: 3.3.33 #${{ steps.get_version.outputs.VERSION }}
asset_path: ${{steps.sign_app.outputs.signedReleaseFile}}
asset_name: QZCompanionNordictrackTreadmill.apk
asset_content_type: application/zip
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.cagnulein.qzcompanionnordictracktreadmill"
minSdkVersion 21
targetSdkVersion 34
versionCode 112
versionName "3.3.32"
versionCode 113
versionName "3.3.33"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.cagnulein.qzcompanionnordictracktreadmill" android:versionName="3.3.32" android:versionCode="112" >
package="org.cagnulein.qzcompanionnordictracktreadmill" android:versionName="3.3.33" android:versionCode="113" >
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,9 @@ private void listenAndWaitAndThrowIntent(InetAddress broadcastIP, Integer port)
y1Inclination = 520 - (int) (QZService.lastInclinationFloat * 20);
y2 = y1Inclination - (int) ((reqInclination - QZService.lastInclinationFloat) * 20);
} else if (device == _device.elite1000) {
x1 = 75;
y1Inclination = 615 - (int) (QZService.lastInclinationFloat * 32.58);
y2 = y1Inclination - (int) ((reqInclination - QZService.lastInclinationFloat) * 32.58);
x1 = 76;
y1Inclination = 589 - (int) (QZService.lastInclinationFloat * 32.8);
y2 = y1Inclination - (int) ((reqInclination - QZService.lastInclinationFloat) * 32.8);
} else {
x1 = 79;
y2 = (int) ((-21.804 * reqInclination) + 520.11);
Expand Down

0 comments on commit 938f08c

Please sign in to comment.