We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66d7d4 commit 112739eCopy full SHA for 112739e
ports/atmel-samd/common-hal/alarm/pin/PinAlarm.c
@@ -29,7 +29,7 @@
29
#include "eic_handler.h"
30
#include "atmel_start_pins.h"
31
#include "hal/include/hal_gpio.h"
32
-#include <stdio.h>
+// #include <stdio.h>
33
34
35
#include "shared-bindings/alarm/pin/PinAlarm.h"
ports/atmel-samd/common-hal/alarm/time/TimeAlarm.c
@@ -35,7 +35,7 @@
STATIC volatile bool woke_up;
36
STATIC uint32_t deep_sleep_ticks;
37
// TODO: replace timealarm_on with SAMD_ALARM_FLAG bit flags
38
-STATIC bool timealarm_on;
+STATIC volatile bool timealarm_on;
39
40
void common_hal_alarm_time_timealarm_construct(alarm_time_timealarm_obj_t *self, mp_float_t monotonic_time) {
41
// TODO: throw a ValueError if the input time exceeds the maximum
0 commit comments