git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6195 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-08-21 13:49:17 +00:00
parent 50cb1bb73b
commit c10628df28
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@
/* Derived constants and error checks. */ /* 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) #if (CH_CFG_TIMEDELTA < 0) || (CH_CFG_TIMEDELTA == 1)
#error "invalid CH_CFG_TIMEDELTA specified" #error "invalid CH_CFG_TIMEDELTA specified"
#endif #endif