diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-01 17:29:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-01 17:29:56 +0000 |
commit | d8be44136c1e6d02ee105ac0791f9e6732551fec (patch) | |
tree | 31636040799a284f1f3b650f4ece699f4cf5ad7b /os/hal/src/hal.c | |
parent | e1f07aa7c670e670890698ba99df7c07fb78cb5a (diff) | |
download | ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.gz ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.bz2 ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.zip |
Fixed bug 3100946, renamed HAL switches removing the CH_ part.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2326 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/hal.c')
-rw-r--r-- | os/hal/src/hal.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c index c0e3d2c28..4cf145059 100644 --- a/os/hal/src/hal.c +++ b/os/hal/src/hal.c @@ -53,34 +53,34 @@ void halInit(void) { hal_lld_init();
-#if CH_HAL_USE_PAL
+#if HAL_USE_PAL
palInit(&pal_default_config);
#endif
-#if CH_HAL_USE_ADC
+#if HAL_USE_ADC
adcInit();
#endif
-#if CH_HAL_USE_CAN
+#if HAL_USE_CAN
canInit();
#endif
-#if CH_HAL_USE_I2C
+#if HAL_USE_I2C
i2cInit();
#endif
-#if CH_HAL_USE_MAC
+#if HAL_USE_MAC
macInit();
#endif
-#if CH_HAL_USE_PWM
+#if HAL_USE_PWM
pwmInit();
#endif
-#if CH_HAL_USE_SERIAL
+#if HAL_USE_SERIAL
sdInit();
#endif
-#if CH_HAL_USE_SPI
+#if HAL_USE_SPI
spiInit();
#endif
-#if CH_HAL_USE_MMC_SPI
+#if HAL_USE_MMC_SPI
mmcInit();
#endif
-#if CH_HAL_USE_UART
+#if HAL_USE_UART
uartInit();
#endif
}
|