summaryrefslogtreecommitdiff
path: root/ports/nrf/mphalport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nrf/mphalport.h')
-rw-r--r--ports/nrf/mphalport.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/nrf/mphalport.h b/ports/nrf/mphalport.h
index 7f142a059..f283cf38d 100644
--- a/ports/nrf/mphalport.h
+++ b/ports/nrf/mphalport.h
@@ -46,7 +46,6 @@ int mp_hal_stdin_rx_chr(void);
void mp_hal_stdout_tx_str(const char *str);
bool mp_hal_stdin_any(void);
void mp_hal_delay_ms(mp_uint_t ms);
-void mp_hal_delay_us(mp_uint_t us);
+#define mp_hal_delay_us(us) NRFX_DELAY_US((uint32_t) (us))
#endif
-