Skip to content

Commit 39124b8

Browse files
committed
doc fixes
1 parent 1daad63 commit 39124b8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

shared-bindings/alarm/SleepMemory.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
//| import alarm
4848
//| alarm.sleep_memory[0] = True
4949
//| alarm.sleep_memory[1] = 12
50-
//|
50+
//| """
5151

5252
//| def __init__(self) -> None:
53-
//| """Not currently dynamically supported. Access the sole instance through `microcontroller.nvm`."""
53+
//| """Not used. Access the sole instance through `alarm.sleep_memory`."""
5454
//| ...
5555
//|
5656

shared-bindings/alarm/__init__.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
//| maintaining the connection takes priority and power consumption may not be reduced.
5959
//| """
6060

61+
//| sleep_memory: SleepMemory
62+
//| """Memory that persists during deep sleep.
63+
//| This object is the sole instance of `alarm.SleepMemory`."""
6164
//|
65+
6266
//| wake_alarm: Alarm
6367
//| """The most recently triggered alarm. If CircuitPython was sleeping, the alarm the woke it from sleep."""
6468
//|

0 commit comments

Comments
 (0)