minor tweaks

This commit is contained in:
Max Holliday 2021-10-09 14:50:55 -06:00
parent d66d7d476c
commit 112739e247
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#include "eic_handler.h"
#include "atmel_start_pins.h"
#include "hal/include/hal_gpio.h"
#include <stdio.h>
// #include <stdio.h>
#include "shared-bindings/alarm/pin/PinAlarm.h"

View File

@ -35,7 +35,7 @@
STATIC volatile bool woke_up;
STATIC uint32_t deep_sleep_ticks;
// TODO: replace timealarm_on with SAMD_ALARM_FLAG bit flags
STATIC bool timealarm_on;
STATIC volatile bool timealarm_on;
void common_hal_alarm_time_timealarm_construct(alarm_time_timealarm_obj_t *self, mp_float_t monotonic_time) {
// TODO: throw a ValueError if the input time exceeds the maximum