unix/mphalport.h: Add dummy definition of mp_hal_ticks_cpu().
To fix coverage build.
This commit is contained in:
parent
6a2c6098f4
commit
c62679bdaa
|
@ -38,6 +38,7 @@ void mp_hal_stdio_mode_orig(void);
|
||||||
// "The useconds argument shall be less than one million."
|
// "The useconds argument shall be less than one million."
|
||||||
static inline void mp_hal_delay_ms(mp_uint_t ms) { usleep((ms) * 1000); }
|
static inline void mp_hal_delay_ms(mp_uint_t ms) { usleep((ms) * 1000); }
|
||||||
static inline void mp_hal_delay_us(mp_uint_t us) { usleep(us); }
|
static inline void mp_hal_delay_us(mp_uint_t us) { usleep(us); }
|
||||||
|
#define mp_hal_ticks_cpu() 0
|
||||||
|
|
||||||
#define RAISE_ERRNO(err_flag, error_val) \
|
#define RAISE_ERRNO(err_flag, error_val) \
|
||||||
{ if (err_flag == -1) \
|
{ if (err_flag == -1) \
|
||||||
|
|
Loading…
Reference in New Issue