diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-10-27 17:55:03 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-10-27 17:55:03 -0700 |
| commit | 9a4efed8cbaca3aa48c6cc0ce0a4e267eef7a8e1 (patch) | |
| tree | a4503697ca0d3fab4e15ee6add1171165ac32146 /shared-bindings/sleepio/__init__.h | |
| parent | 85dadf3a561c21e284d5daf42b1b3e367ce7ebc6 (diff) | |
Start tweaking the workflow to sleep
Diffstat (limited to 'shared-bindings/sleepio/__init__.h')
| -rw-r--r-- | shared-bindings/sleepio/__init__.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shared-bindings/sleepio/__init__.h b/shared-bindings/sleepio/__init__.h index ccd3bf4a0..6ea538055 100644 --- a/shared-bindings/sleepio/__init__.h +++ b/shared-bindings/sleepio/__init__.h @@ -3,8 +3,7 @@ #include "py/obj.h" -// This is implemented by shared-bindings so that implementations can set the -// newest alarm source. -extern void common_hal_sleepio_set_wake_alarm(mp_obj_t alarm); +extern mp_obj_t common_hal_sleepio_get_wake_alarm(void); +extern sleepio_reset_reason_t common_hal_sleepio_get_reset_reason(void); #endif // MICROPY_INCLUDED_SHARED_BINDINGS_SLEEPIO___INIT___H |
