diff options
Diffstat (limited to 'extmod/machine_timer.c')
-rw-r--r-- | extmod/machine_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extmod/machine_timer.c b/extmod/machine_timer.c index cdace4ee2..68702cb74 100644 --- a/extmod/machine_timer.c +++ b/extmod/machine_timer.c @@ -26,10 +26,11 @@ #include "py/runtime.h" #include "py/mphal.h" -#include "shared/runtime/softtimer.h" #if MICROPY_PY_MACHINE_TIMER +#include "shared/runtime/softtimer.h" + typedef soft_timer_entry_t machine_timer_obj_t; const mp_obj_type_t machine_timer_type; |