diff options
author | Fabio Utzig <utzig@utzig.org> | 2015-07-26 14:17:40 +0000 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2015-07-26 14:17:40 +0000 |
commit | 6425481eb9383061a876f73b41d4a3bfda939e94 (patch) | |
tree | 70919779e7e4304068f0195f463bfcf26bfcb433 | |
parent | c92dbedf21284d77722ac2b4d9374982a1dcd80c (diff) | |
download | ChibiOS-6425481eb9383061a876f73b41d4a3bfda939e94.tar.gz ChibiOS-6425481eb9383061a876f73b41d4a3bfda939e94.tar.bz2 ChibiOS-6425481eb9383061a876f73b41d4a3bfda939e94.zip |
[AVR] Make tickless default for Mega demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8110 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/AVR/RT-ARDUINOMEGA/chconf.h | 6 |
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.
|