summaryrefslogtreecommitdiff
path: root/ports/nrf/mphalport.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-16 19:36:40 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-16 19:36:40 -0400
commit2809b4f9dd08dd1e83e87f1f4088ba22f3f66cd2 (patch)
treee87027c60d5de0811f6213d087c677bc59295bd0 /ports/nrf/mphalport.h
parente2e01efa84d2ed46d004edf48076e4701accc176 (diff)
parent617351aebc59e27a5f9a8a3b38032637a49f5432 (diff)
Merge branch 'master' into micropython-25ae98f-merge
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
-