aboutsummaryrefslogtreecommitdiffstats
path: root/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h')
-rw-r--r--demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h
index c43879adb..eeec0899f 100644
--- a/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h
+++ b/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h
@@ -52,6 +52,12 @@
/*===========================================================================*/
/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define NIL_CFG_ST_RESOLUTION 16
+
+/**
* @brief System tick frequency.
*/
#define NIL_CFG_ST_FREQUENCY 1000
@@ -64,7 +70,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
-#define NIL_CFG_ST_TIMEDELTA 0
+#define NIL_CFG_ST_TIMEDELTA 2
/** @} */