From 711b94f688e23b1a8393256f190923fd22d5101b Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Tue, 6 Oct 2015 21:52:48 +0000 Subject: [PATCH] Fix typo in macro git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8345 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/K20x/kinetis_registry.h | 2 +- os/hal/ports/KINETIS/KL2x/kinetis_registry.h | 2 +- os/hal/ports/KINETIS/LLD/adc_lld.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os/hal/ports/KINETIS/K20x/kinetis_registry.h b/os/hal/ports/KINETIS/K20x/kinetis_registry.h index 4a74fb917..024a4242b 100644 --- a/os/hal/ports/KINETIS/K20x/kinetis_registry.h +++ b/os/hal/ports/KINETIS/K20x/kinetis_registry.h @@ -43,7 +43,7 @@ /* ADC attributes.*/ #define KINETIS_HAS_ADC0 TRUE -#define KINETIS_ADC0_IRC_VECTOR Vector98 +#define KINETIS_ADC0_IRQ_VECTOR Vector98 /* I2C attributes.*/ #define KINETIS_I2C0_IRQ_VECTOR Vector6C diff --git a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h index 6a7f93dba..dcf357659 100644 --- a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h +++ b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h @@ -40,7 +40,7 @@ /* ADC attributes.*/ #define KINETIS_HAS_ADC0 TRUE -#define KINETIS_ADC0_IRC_VECTOR Vector7C +#define KINETIS_ADC0_IRQ_VECTOR Vector7C /* I2C attributes.*/ #define KINETIS_I2C0_IRQ_VECTOR Vector60 diff --git a/os/hal/ports/KINETIS/LLD/adc_lld.c b/os/hal/ports/KINETIS/LLD/adc_lld.c index 3082ee06c..c0904c8b3 100644 --- a/os/hal/ports/KINETIS/LLD/adc_lld.c +++ b/os/hal/ports/KINETIS/LLD/adc_lld.c @@ -89,7 +89,7 @@ static void calibrate(ADCDriver *adcp) { * * @isr */ -OSAL_IRQ_HANDLER(KINETIS_ADC0_IRC_VECTOR) { +OSAL_IRQ_HANDLER(KINETIS_ADC0_IRQ_VECTOR) { OSAL_IRQ_PROLOGUE(); ADCDriver *adcp = &ADCD1;