From 9970f28cb9a705c7b502c4cf95f2dffb39b7164f Mon Sep 17 00:00:00 2001 From: utzig Date: Mon, 8 Jul 2013 22:26:33 +0000 Subject: [AVR] use better defines for timer based drivers git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5943 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/AVR/GPT/mcuconf.h | 4 ++-- testhal/AVR/ICU/mcuconf.h | 2 +- testhal/AVR/PWM/mcuconf.h | 4 ++-- testhal/AVR/SPI/mcuconf.h | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'testhal/AVR') diff --git a/testhal/AVR/GPT/mcuconf.h b/testhal/AVR/GPT/mcuconf.h index 3ae39424c..b41750c94 100644 --- a/testhal/AVR/GPT/mcuconf.h +++ b/testhal/AVR/GPT/mcuconf.h @@ -31,5 +31,5 @@ * GPT driver system settings. */ -#define AVR_GPT_USE_GPT1 TRUE -#define AVR_GPT_USE_GPT2 TRUE +#define AVR_GPT_USE_TIM1 TRUE +#define AVR_GPT_USE_TIM2 TRUE diff --git a/testhal/AVR/ICU/mcuconf.h b/testhal/AVR/ICU/mcuconf.h index d89ff2b45..04fb731b0 100644 --- a/testhal/AVR/ICU/mcuconf.h +++ b/testhal/AVR/ICU/mcuconf.h @@ -23,4 +23,4 @@ */ #define AVR_SERIAL_USE_USART0 TRUE -#define AVR_ICU_USE_ICU3 TRUE +#define AVR_ICU_USE_TIM3 TRUE diff --git a/testhal/AVR/PWM/mcuconf.h b/testhal/AVR/PWM/mcuconf.h index 86ee11ea2..08691fd56 100644 --- a/testhal/AVR/PWM/mcuconf.h +++ b/testhal/AVR/PWM/mcuconf.h @@ -25,5 +25,5 @@ /* * PWM driver system settings. */ -#define AVR_PWM_USE_PWM1 TRUE -#define AVR_PWM_USE_PWM2 TRUE +#define AVR_PWM_USE_TIM1 TRUE +#define AVR_PWM_USE_TIM2 TRUE diff --git a/testhal/AVR/SPI/mcuconf.h b/testhal/AVR/SPI/mcuconf.h index cb40eb155..6bf30f02b 100644 --- a/testhal/AVR/SPI/mcuconf.h +++ b/testhal/AVR/SPI/mcuconf.h @@ -40,8 +40,8 @@ * PWM driver system settings. */ -#define AVR_PWM_USE_PWM1 FALSE -#define AVR_PWM_USE_PWM2 FALSE +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE /* * Serial driver system settings. -- cgit v1.2.3