Skip to content
Snippets Groups Projects
Commit 5a2a4e94 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/mphal.h: Provide default prototypes for mp_hal_delay_us/mp_hal_ticks_us.

Similar to existing mp_hal_delay_ms/mp_hal_ticks_ms.
parent 0ab37258
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,16 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len); ...@@ -54,8 +54,16 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len);
void mp_hal_delay_ms(mp_uint_t ms); void mp_hal_delay_ms(mp_uint_t ms);
#endif #endif
#ifndef mp_hal_delay_us
void mp_hal_delay_us(mp_uint_t us);
#endif
#ifndef mp_hal_ticks_ms #ifndef mp_hal_ticks_ms
mp_uint_t mp_hal_ticks_ms(void); mp_uint_t mp_hal_ticks_ms(void);
#endif #endif
#ifndef mp_hal_ticks_us
mp_uint_t mp_hal_ticks_us(void);
#endif
#endif // __MICROPY_INCLUDED_PY_MPHAL_H__ #endif // __MICROPY_INCLUDED_PY_MPHAL_H__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment