Skip to content

Commit

Permalink
Simplify sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
psi-4ward authored Nov 26, 2019
1 parent 5c9a978 commit b694b72
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,6 @@ void loop() {
// this call will never return
hal.activity.sleepForever(hal);
}
#ifdef USE_RTC
hal.sleep<>();
#else
hal.activity.savePower<Sleep<>>(hal);
#endif
}
}

0 comments on commit b694b72

Please sign in to comment.