diff options
Diffstat (limited to 'py/mphal.h')
-rw-r--r-- | py/mphal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mphal.h b/py/mphal.h index 54a45b024..8d5654f9e 100644 --- a/py/mphal.h +++ b/py/mphal.h @@ -66,6 +66,10 @@ mp_uint_t mp_hal_ticks_ms(void); mp_uint_t mp_hal_ticks_us(void); #endif +#ifndef mp_hal_ticks_cpu +mp_uint_t mp_hal_ticks_cpu(void); +#endif + // If port HAL didn't define its own pin API, use generic // "virtual pin" API from the core. #ifndef mp_hal_pin_obj_t |