diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-12-01 20:13:46 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-12-01 20:13:46 -0500 |
| commit | 72fa7d88b881d2ed9978c0bd65ce5f8d6eb51703 (patch) | |
| tree | 88c31f07f3b5561de61b6aaecf6f68e488d9546e /shared-bindings | |
| parent | 8b7c23c1ee5d3fbfbda9116d6689e99f44e3b95a (diff) | |
fix doc errors
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/alarm/pin/PinAlarm.c | 2 | ||||
| -rw-r--r-- | shared-bindings/alarm/time/TimeAlarm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/alarm/pin/PinAlarm.c b/shared-bindings/alarm/pin/PinAlarm.c index a435407ac..7a5617142 100644 --- a/shared-bindings/alarm/pin/PinAlarm.c +++ b/shared-bindings/alarm/pin/PinAlarm.c @@ -40,7 +40,7 @@ //| //| def __init__(self, pin: microcontroller.Pin, value: bool, edge: bool = False, pull: bool = False) -> None: //| """Create an alarm triggered by a `microcontroller.Pin` level. The alarm is not active -//| until it is passed to an `alarm`-enabling function, such as `alarm.sleep_until_alarms()` or +//| until it is passed to an `alarm`-enabling function, such as `alarm.light_sleep_until_alarms()` or //| `alarm.exit_and_deep_sleep_until_alarms()`. //| //| :param microcontroller.Pin pin: The pin to monitor. On some ports, the choice of pin diff --git a/shared-bindings/alarm/time/TimeAlarm.c b/shared-bindings/alarm/time/TimeAlarm.c index 17a4faac2..1c4d976ad 100644 --- a/shared-bindings/alarm/time/TimeAlarm.c +++ b/shared-bindings/alarm/time/TimeAlarm.c @@ -48,7 +48,7 @@ mp_obj_t MP_WEAK rtc_get_time_source_time(void) { //| ``monotonic_time``, or when `time.time()` would equal ``epoch_time``. //| Only one of the two arguments can be given. //| The alarm is not active until it is passed to an -//| `alarm`-enabling function, such as `alarm.sleep_until_alarms()` or +//| `alarm`-enabling function, such as `alarm.light_sleep_until_alarms()` or //| `alarm.exit_and_deep_sleep_until_alarms()`. //| //| If the given time is in the past when sleep occurs, the alarm will be triggered |
