diff --git a/ports/nrf/mphalport.h b/ports/nrf/mphalport.h index b374da403..e99acf8d6 100644 --- a/ports/nrf/mphalport.h +++ b/ports/nrf/mphalport.h @@ -52,6 +52,10 @@ extern const unsigned char mp_hal_status_to_errno_table[4]; NORETURN void mp_hal_raise(HAL_StatusTypeDef status); void mp_hal_set_interrupt_char(int c); // -1 to disable +#if MICROPY_PY_BLE_NUS +#define mp_hal_stdio_poll(poll_flags) (0) +#endif + int mp_hal_stdin_rx_chr(void); void mp_hal_stdout_tx_str(const char *str);