Skip to content

Commit

Permalink
Merge pull request #11 from danielgilbers/feature/rotation
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
danielgilbers authored Aug 27, 2024
2 parents 681668f + eb689dc commit 17cdf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sensor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function handleOrientation(event) {
updateFieldIfNotNull('Orientation_a', event.alpha);
updateFieldIfNotNull('Orientation_b', event.beta);
updateFieldIfNotNull('Orientation_g', event.gamma);
updateFieldIfNotNull('Orientation_g', event.webkitCompassHeading);
updateFieldIfNotNull('Orientation_compass', event.webkitCompassHeading);
incrementEventCount();
}

Expand Down

0 comments on commit 17cdf1d

Please sign in to comment.