diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-21 13:49:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-21 13:49:17 +0000 |
commit | c10628df28bd9265da5cf6aa71d26f1ed069ad79 (patch) | |
tree | 4068ea346a2016f1620a06297c5d5c165aefecbf /os/rt/include | |
parent | 50cb1bb73beec57f0e6031dcccbbc2aa4a02a7c1 (diff) | |
download | ChibiOS-c10628df28bd9265da5cf6aa71d26f1ed069ad79.tar.gz ChibiOS-c10628df28bd9265da5cf6aa71d26f1ed069ad79.tar.bz2 ChibiOS-c10628df28bd9265da5cf6aa71d26f1ed069ad79.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6195 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include')
-rw-r--r-- | os/rt/include/chvt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 447a7447d..d4948f1d6 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -41,6 +41,10 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+#if CH_CFG_ST_FREQUENCY <= 0
+#error "invalid CH_CFG_ST_FREQUENCY specified"
+#endif
+
#if (CH_CFG_TIMEDELTA < 0) || (CH_CFG_TIMEDELTA == 1)
#error "invalid CH_CFG_TIMEDELTA specified"
#endif
|