minor tweaks
This commit is contained in:
parent
d66d7d476c
commit
112739e247
@ -29,7 +29,7 @@
|
|||||||
#include "eic_handler.h"
|
#include "eic_handler.h"
|
||||||
#include "atmel_start_pins.h"
|
#include "atmel_start_pins.h"
|
||||||
#include "hal/include/hal_gpio.h"
|
#include "hal/include/hal_gpio.h"
|
||||||
#include <stdio.h>
|
// #include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
#include "shared-bindings/alarm/pin/PinAlarm.h"
|
#include "shared-bindings/alarm/pin/PinAlarm.h"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
STATIC volatile bool woke_up;
|
STATIC volatile bool woke_up;
|
||||||
STATIC uint32_t deep_sleep_ticks;
|
STATIC uint32_t deep_sleep_ticks;
|
||||||
// TODO: replace timealarm_on with SAMD_ALARM_FLAG bit flags
|
// 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) {
|
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
|
// TODO: throw a ValueError if the input time exceeds the maximum
|
||||||
|
Loading…
Reference in New Issue
Block a user