git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1456 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4d41c9904f
commit
5f75c01222
|
@ -46,14 +46,14 @@
|
||||||
* @brief Enables the ADC subsystem.
|
* @brief Enables the ADC subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_HAL_USE_ADC) || defined(__DOXYGEN__)
|
#if !defined(CH_HAL_USE_ADC) || defined(__DOXYGEN__)
|
||||||
#define CH_HAL_USE_ADC FALSE
|
#define CH_HAL_USE_ADC TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the CAN subsystem.
|
* @brief Enables the CAN subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_HAL_USE_CAN) || defined(__DOXYGEN__)
|
#if !defined(CH_HAL_USE_CAN) || defined(__DOXYGEN__)
|
||||||
#define CH_HAL_USE_CAN FALSE
|
#define CH_HAL_USE_CAN TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
* @brief Enables the SPI subsystem.
|
* @brief Enables the SPI subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_HAL_USE_SPI) || defined(__DOXYGEN__)
|
#if !defined(CH_HAL_USE_SPI) || defined(__DOXYGEN__)
|
||||||
#define CH_HAL_USE_SPI FALSE
|
#define CH_HAL_USE_SPI TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -210,6 +210,7 @@ int main(int argc, char **argv) {
|
||||||
chThdTerminate(spitp);
|
chThdTerminate(spitp);
|
||||||
chThdWait(spitp);
|
chThdWait(spitp);
|
||||||
#endif
|
#endif
|
||||||
|
chThdSleepMilliseconds(500);
|
||||||
TestThread(&SD2);
|
TestThread(&SD2);
|
||||||
chThdSleepMilliseconds(500);
|
chThdSleepMilliseconds(500);
|
||||||
chSysHalt();
|
chSysHalt();
|
||||||
|
|
Loading…
Reference in New Issue