Fix wake on RTC

This commit is contained in:
Gabriel Augendre 2023-03-12 10:26:47 +01:00
parent f6fe6b1fc2
commit b691341c16

View file

@ -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()