aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR')
-rw-r--r--demos/AVR/RT-ARDUINOMEGA/chconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/AVR/RT-ARDUINOMEGA/chconf.h b/demos/AVR/RT-ARDUINOMEGA/chconf.h
index 149d5f36c..6afe4ab69 100644
--- a/demos/AVR/RT-ARDUINOMEGA/chconf.h
+++ b/demos/AVR/RT-ARDUINOMEGA/chconf.h
@@ -46,7 +46,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 1000
+#define CH_CFG_ST_FREQUENCY 15624
/**
* @brief Time delta constant for the tick-less mode.
@@ -56,7 +56,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
-#define CH_CFG_ST_TIMEDELTA 0
+#define CH_CFG_ST_TIMEDELTA 2
/** @} */
@@ -78,7 +78,7 @@
* @note Disabling the round robin preemption makes the kernel more compact
* and generally faster.
*/
-#define CH_CFG_TIME_QUANTUM 20
+#define CH_CFG_TIME_QUANTUM 0
/**
* @brief Managed RAM size.