File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
shared-bindings/alarm/time Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
51
51
//| ``monotonic_time``, or when `time.time()` would equal ``epoch_time``.
52
52
//| Only one of the two arguments can be given.
53
53
//| The alarm is not active until it is passed to an
54
- //| `alarm`-enabling function, such as `alarm.light_sleep_until_alarms()` or
54
+ //| `alarm`-enabling sleep function, such as `alarm.light_sleep_until_alarms()` or
55
55
//| `alarm.exit_and_deep_sleep_until_alarms()`.
56
56
//|
57
- //| If the given time is in the past when sleep occurs, the alarm will be triggered
58
- //| immediately.
57
+ //| If the given time is already in the past, then an exception is raised.
58
+ //| If the sleep happens after the given time, then it will wake immediately
59
+ //| due to this time alarm.
59
60
//| """
60
61
//| ...
61
62
STATIC mp_obj_t alarm_time_timealarm_make_new (const mp_obj_type_t * type ,
You can’t perform that action at this time.
0 commit comments