summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/nrf/mphalport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/nrf/mphalport.c b/ports/nrf/mphalport.c
index b8e4c2e4d..8ffb25601 100644
--- a/ports/nrf/mphalport.c
+++ b/ports/nrf/mphalport.c
@@ -150,6 +150,10 @@ mp_uint_t mp_hal_ticks_ms(void) {
#endif
+uint64_t mp_hal_time_ns(void) {
+ return 0;
+}
+
// this table converts from HAL_StatusTypeDef to POSIX errno
const byte mp_hal_status_to_errno_table[4] = {
[HAL_OK] = 0,