aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-13 11:17:34 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-13 11:17:34 +0000
commit8464f9100e1a7da211e00868d7219f83c3e66b49 (patch)
tree45e28440bfa7f5c8b9680d4522780f1277c67140 /os/hal/ports
parent991de13cad02f1b4121aa172ea3788cc6c900edf (diff)
downloadChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.tar.gz
ChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.tar.bz2
ChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.zip
Fixed bug #724.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9086 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.h b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
index 68706ee1a..5022a82a3 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
@@ -212,9 +212,6 @@
#define STM32_PPRE_DIV8 (6 << 8) /**< HCLK divided by 8. */
#define STM32_PPRE_DIV16 (7 << 8) /**< HCLK divided by 16. */
-#define STM32_ADCPRE_DIV2 (0 << 14) /**< PCLK divided by 2. */
-#define STM32_ADCPRE_DIV4 (1 << 14) /**< PCLK divided by 4. */
-
#define STM32_PLLSRC_HSI_DIV2 (0 << 15) /**< PLL clock source is HSI/2. */
#define STM32_PLLSRC_HSI (1 << 15) /**< PLL clock source is HSI */
#define STM32_PLLSRC_HSE (2 << 15) /**< PLL clock source is HSE. */
@@ -275,9 +272,6 @@
#define STM32_USBSW_MASK (1 << 7) /**< USB clock source mask. */
#define STM32_USBSW_HSI48 (0 << 7) /**< USB clock is HSI48. */
#define STM32_USBSW_PCLK (1 << 7) /**< USB clock is PCLK. */
-#define STM32_ADCSW_MASK (1 << 8) /**< ADC clock source mask. */
-#define STM32_ADCSW_HSI14 (0 << 8) /**< ADC clock is HSI14. */
-#define STM32_ADCSW_PCLK (1 << 8) /**< ADC clock is PCLK/2|4. */
/** @} */
/*===========================================================================*/
@@ -525,10 +519,6 @@
#error "HSI14 not enabled, required by STM32_MCOSEL"
#endif
-#if STM32_ADCSW == STM32_ADCSW_HSI14
-#error "HSI14 not enabled, required by STM32_ADCSW"
-#endif
-
#endif /* !STM32_HSI14_ENABLED */
/*