Skip to content

Commit 72fa7d8

Browse files
committed
fix doc errors
1 parent 8b7c23c commit 72fa7d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shared-bindings/alarm/pin/PinAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
//|
4141
//| def __init__(self, pin: microcontroller.Pin, value: bool, edge: bool = False, pull: bool = False) -> None:
4242
//| """Create an alarm triggered by a `microcontroller.Pin` level. The alarm is not active
43-
//| until it is passed to an `alarm`-enabling function, such as `alarm.sleep_until_alarms()` or
43+
//| until it is passed to an `alarm`-enabling function, such as `alarm.light_sleep_until_alarms()` or
4444
//| `alarm.exit_and_deep_sleep_until_alarms()`.
4545
//|
4646
//| :param microcontroller.Pin pin: The pin to monitor. On some ports, the choice of pin

shared-bindings/alarm/time/TimeAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
4848
//| ``monotonic_time``, or when `time.time()` would equal ``epoch_time``.
4949
//| Only one of the two arguments can be given.
5050
//| The alarm is not active until it is passed to an
51-
//| `alarm`-enabling function, such as `alarm.sleep_until_alarms()` or
51+
//| `alarm`-enabling function, such as `alarm.light_sleep_until_alarms()` or
5252
//| `alarm.exit_and_deep_sleep_until_alarms()`.
5353
//|
5454
//| If the given time is in the past when sleep occurs, the alarm will be triggered

0 commit comments

Comments
 (0)