mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-11-24 10:28:01 +01:00
Fix wake on RTC
This commit is contained in:
parent
f6fe6b1fc2
commit
b691341c16
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ def main():
|
||||||
display.rtc.set_timer(
|
display.rtc.set_timer(
|
||||||
secrets.REFRESH_INTERVAL_MINUTES, ttp=PCF85063A.TIMER_TICK_1_OVER_60HZ
|
secrets.REFRESH_INTERVAL_MINUTES, ttp=PCF85063A.TIMER_TICK_1_OVER_60HZ
|
||||||
)
|
)
|
||||||
|
display.rtc.enable_timer_interrupt(True)
|
||||||
print("Halting")
|
print("Halting")
|
||||||
display.halt()
|
display.halt()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue