[AVR] Fixed checking for tickless mode

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7518 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
utzig 2014-11-17 18:18:50 +00:00
parent 28af17c090
commit 0f253d11b6
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
#include "mcuconf.h"
#if ((NIL_CFG_ST_TIMEDELTA > 0 || CH_CFG_ST_TIMEDELTA > 0) && \
#if ((OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING) && \
(AVR_GPT_USE_TIM1 || AVR_PWM_USE_TIM1 || AVR_ICU_USE_TIM1))
#error "Timer 1 cannot be used by drivers when running in tickless mode."
#endif