mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
ports: Provide mp_hal_stdio_poll for sys.stdio polling where needed.
This commit is contained in:
@@ -64,5 +64,6 @@ extern void HAL_SystemDeInit (void);
|
||||
extern void HAL_IncrementTick(void);
|
||||
extern void mp_hal_set_interrupt_char (int c);
|
||||
|
||||
#define mp_hal_stdio_poll(poll_flags) (0) // not implemented
|
||||
#define mp_hal_delay_us(usec) UtilsDelay(UTILS_DELAY_US_TO_COUNT(usec))
|
||||
#define mp_hal_ticks_cpu() (SysTickPeriodGet() - SysTickValueGet())
|
||||
|
||||
Reference in New Issue
Block a user