Skip to content

Commit

Permalink
[] sixths: Powering up sensors all the time may not be neccessary
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelmachek committed Nov 29, 2023
1 parent 0f5378e commit 5dd975f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/sixths/sixths.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var buzz = "", /* Set this to transmit morse via vibrations */
inm = "", l = "", /* For incoming morse handling */
in_str = "",
note = "(NOTEHERE)",
debug = "v930", debug2 = "(otherdb)", debug3 = "(short)";
debug = "v1119", debug2 = "(otherdb)", debug3 = "(short)";
var mode = 0, mode_time = 0; // 0 .. normal, 1 .. note, 2.. mark name
var disp_mode = 0; // 0 .. normal, 1 .. small time

Expand Down Expand Up @@ -482,7 +482,7 @@ function drawBackground() {
g.setColor(0.5, 0.5, 1);
drawDot(h, 0.7, 10);
}
}
}
if (prev_fix && prev_fix.fix) {
g.setColor(0.5, 1, 0.5);
drawDot(prev_fix.course, 0.5, 6);
Expand Down Expand Up @@ -698,7 +698,7 @@ function start() {
Bangle.on("lock", lockHandler);
if (0)
Bangle.on("accel", accelHandler);
if (1) {
if (0) {
Bangle.setCompassPower(1, "sixths");
Bangle.setBarometerPower(1, "sixths");
}
Expand Down

0 comments on commit 5dd975f

Please sign in to comment.