doc fixes

This commit is contained in:
Dan Halbert 2020-12-11 09:03:45 -05:00
parent 1daad63d2b
commit 39124b888b
2 changed files with 6 additions and 2 deletions

View File

@ -47,10 +47,10 @@
//| import alarm
//| alarm.sleep_memory[0] = True
//| alarm.sleep_memory[1] = 12
//|
//| """
//| def __init__(self) -> None:
//| """Not currently dynamically supported. Access the sole instance through `microcontroller.nvm`."""
//| """Not used. Access the sole instance through `alarm.sleep_memory`."""
//| ...
//|

View File

@ -58,7 +58,11 @@
//| maintaining the connection takes priority and power consumption may not be reduced.
//| """
//| sleep_memory: SleepMemory
//| """Memory that persists during deep sleep.
//| This object is the sole instance of `alarm.SleepMemory`."""
//|
//| wake_alarm: Alarm
//| """The most recently triggered alarm. If CircuitPython was sleeping, the alarm the woke it from sleep."""
//|