Skip to content

Commit

Permalink
Changed id of 3d data from data3d to data3D for compatibility with ph…
Browse files Browse the repository at this point in the history
…one app v4.0.5
  • Loading branch information
jones139 committed Jun 4, 2022
1 parent 5be1c29 commit 7d8b349
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions WatchApp/mb_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ function params_for_package

function compile
{
echo "PARAMS="${PARAMS}
"${MB_HOME}/bin/monkeyc" ${PARAMS}
}

Expand Down
2 changes: 1 addition & 1 deletion WatchApp/resources/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources>
<string id="AppName">GarminSD</string>
<string id="VersionId">V1.1a</string>
<string id="VersionId">V1.1</string>
<string id="Beats_per_minute_abbrev">bpm</string>
<string id="Battery_abbrev">bat</string>
<string id="Error_abbrev">ERR</string>
Expand Down
2 changes: 1 addition & 1 deletion WatchApp/source/GarminSDDataHandler.mc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class GarminSDDataHandler {
+mSamplesY[i] * mSamplesY[i]
+mSamplesZ[i] * mSamplesZ[i]);
}
jsonStr = jsonStr + "], data3d: [";
jsonStr = jsonStr + "], data3D: [";
for (i = 0; i<ANALYSIS_PERIOD*SAMPLE_FREQUENCY; i=i+1) {
if (i>0) {
jsonStr = jsonStr + ", ";
Expand Down

0 comments on commit 7d8b349

Please sign in to comment.