Skip to content

Commit 112739e

Browse files
committed
minor tweaks
1 parent d66d7d4 commit 112739e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/atmel-samd/common-hal/alarm/pin/PinAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include "eic_handler.h"
3030
#include "atmel_start_pins.h"
3131
#include "hal/include/hal_gpio.h"
32-
#include <stdio.h>
32+
// #include <stdio.h>
3333

3434

3535
#include "shared-bindings/alarm/pin/PinAlarm.h"

ports/atmel-samd/common-hal/alarm/time/TimeAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
STATIC volatile bool woke_up;
3636
STATIC uint32_t deep_sleep_ticks;
3737
// TODO: replace timealarm_on with SAMD_ALARM_FLAG bit flags
38-
STATIC bool timealarm_on;
38+
STATIC volatile bool timealarm_on;
3939

4040
void common_hal_alarm_time_timealarm_construct(alarm_time_timealarm_obj_t *self, mp_float_t monotonic_time) {
4141
// TODO: throw a ValueError if the input time exceeds the maximum

0 commit comments

Comments
 (0)