aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 09:07:15 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 09:07:15 +0000
commitabec054420be9af92aeb3b5740cc20050236e01d (patch)
treea5b8454cc24240d83b971f3a749ce225e15a0b7e /os/hal
parentb536b109923b260cf6fc3b4c03cf65e4b4c5c795 (diff)
downloadChibiOS-abec054420be9af92aeb3b5740cc20050236e01d.tar.gz
ChibiOS-abec054420be9af92aeb3b5740cc20050236e01d.tar.bz2
ChibiOS-abec054420be9af92aeb3b5740cc20050236e01d.zip
Fixed bug #604.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8023 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/STM32/STM32F3xx/adc_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F3xx/adc_lld.h b/os/hal/ports/STM32/STM32F3xx/adc_lld.h
index ffaf94a1c..ee6e2b5f3 100644
--- a/os/hal/ports/STM32/STM32F3xx/adc_lld.h
+++ b/os/hal/ports/STM32/STM32F3xx/adc_lld.h
@@ -256,7 +256,7 @@
#error "ADC3 not present in the selected device"
#endif
-#if STM32_ADC_DUAL_MODE && STM32_ADC_USE_ADC2 && !STM32_HAS_ADC4
+#if STM32_ADC_DUAL_MODE && STM32_ADC_USE_ADC3 && !STM32_HAS_ADC4
#error "ADC4 not present in the selected device"
#endif