aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf
diff options
context:
space:
mode:
authorMartin Fischer2020-07-02 22:19:11 +0200
committerDamien George2020-07-08 23:47:08 +1000
commit59ed3bdd9fa8dc6e0677cf8d4478a5a32fee4500 (patch)
treeaaac425d2c628a437b9d466dce0ccfe5a5fe97b9 /ports/nrf
parent15574cd665a8e66157aa97447e3869513da81d45 (diff)
nrf: Enable nrf tick support on all boards by default.
Having time.ticks_ms/us/add/diff is very useful and used by many drivers, libraries and components.
Diffstat (limited to 'ports/nrf')
-rw-r--r--ports/nrf/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h
index fc34a7cf2..c5304b20d 100644
--- a/ports/nrf/mpconfigport.h
+++ b/ports/nrf/mpconfigport.h
@@ -175,7 +175,7 @@
#endif
#ifndef MICROPY_PY_TIME_TICKS
-#define MICROPY_PY_TIME_TICKS (0)
+#define MICROPY_PY_TIME_TICKS (1)
#endif
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)