Skip to content

Commit

Permalink
Update hm-pb-3-fm.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnythomas committed Dec 22, 2018
1 parent e296e65 commit c04bfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Data/hm-pb-3-fm.ino
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Hal : public HalType {
void init (const HMID& id) {
HalType::init(id);
// get new battery value after 50 key press
battery.init(50, btncounter);
battery.init(5, btncounter);
battery.low(22);
battery.critical(19);
}
Expand Down Expand Up @@ -96,6 +96,6 @@ void loop() {
bool worked = hal.runready();
bool poll = sdev.pollRadio();
if (worked == false && poll == false ) {
hal.activity.savePower<Idle<>>(hal);
hal.activity.savePower<Sleep<>>(hal);
}
}

0 comments on commit c04bfd8

Please sign in to comment.