forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
Currently on a raspberry pi pico after a deep sleep the alarm.wake_alarm
object has a None
in the pin
attribute because finding the correct pin has not yet been implemented (see below)
circuitpython/ports/raspberrypi/common-hal/alarm/pin/PinAlarm.c
Lines 86 to 93 in 3aa12b6
mp_obj_t alarm_pin_pinalarm_record_wake_alarm(void) { | |
alarm_pin_pinalarm_obj_t *const alarm = &alarm_wake_alarm.pin_alarm; | |
alarm->base.type = &alarm_pin_pinalarm_type; | |
// TODO: how to obtain the correct pin from memory? | |
alarm->pin = NULL; | |
return alarm; | |
} |