unix/mphalport.h: Add dummy definition of mp_hal_ticks_cpu().

To fix coverage build.
This commit is contained in:
Paul Sokolovsky 2016-10-29 17:23:05 +03:00
parent 6a2c6098f4
commit c62679bdaa

View File

@ -38,6 +38,7 @@ void mp_hal_stdio_mode_orig(void);
// "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_us(mp_uint_t us) { usleep(us); }
#define mp_hal_ticks_cpu() 0
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \