Changed after-reset status for board LEDs.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4475 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-07-22 08:23:31 +00:00
parent ecfab096a9
commit d2aacb2d69
3 changed files with 12 additions and 12 deletions

View File

@ -63,21 +63,21 @@ void __early_init(void) {
#if HAL_USE_SDC || defined(__DOXYGEN__) #if HAL_USE_SDC || defined(__DOXYGEN__)
/** /**
* @brief SDC card detection. * @brief SDC card detection.
* @todo Fill the implementation.
*/ */
bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) { bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) {
(void)sdcp; (void)sdcp;
/* TODO: Fill the implementation.*/
return TRUE; return TRUE;
} }
/** /**
* @brief SDC card write protection detection. * @brief SDC card write protection detection.
* @todo Fill the implementation.
*/ */
bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) { bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp; (void)sdcp;
/* TODO: Fill the implementation.*/
return FALSE; return FALSE;
} }
#endif /* HAL_USE_SDC */ #endif /* HAL_USE_SDC */
@ -85,21 +85,21 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
#if HAL_USE_MMC_SPI || defined(__DOXYGEN__) #if HAL_USE_MMC_SPI || defined(__DOXYGEN__)
/** /**
* @brief MMC_SPI card detection. * @brief MMC_SPI card detection.
* @todo Fill the implementation.
*/ */
bool_t mmc_lld_is_card_inserted(MMCDriver *mmcp) { bool_t mmc_lld_is_card_inserted(MMCDriver *mmcp) {
(void)mmcp; (void)mmcp;
/* TODO: Fill the implementation.*/
return TRUE; return TRUE;
} }
/** /**
* @brief MMC_SPI card write protection detection. * @brief MMC_SPI card write protection detection.
* @todo Fill the implementation.
*/ */
bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) { bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) {
(void)mmcp; (void)mmcp;
/* TODO: Fill the implementation.*/
return FALSE; return FALSE;
} }
#endif #endif

View File

@ -681,10 +681,10 @@
PIN_ODR_HIGH(GPIOD_PIN9) | \ PIN_ODR_HIGH(GPIOD_PIN9) | \
PIN_ODR_HIGH(GPIOD_PIN10) | \ PIN_ODR_HIGH(GPIOD_PIN10) | \
PIN_ODR_HIGH(GPIOD_PIN11) | \ PIN_ODR_HIGH(GPIOD_PIN11) | \
PIN_ODR_HIGH(GPIOD_LED4) | \ PIN_ODR_LOW(GPIOD_LED4) | \
PIN_ODR_HIGH(GPIOD_LED3) | \ PIN_ODR_LOW(GPIOD_LED3) | \
PIN_ODR_HIGH(GPIOD_LED5) | \ PIN_ODR_LOW(GPIOD_LED5) | \
PIN_ODR_HIGH(GPIOD_LED6)) PIN_ODR_LOW(GPIOD_LED6))
#define VAL_GPIOD_AFRL (PIN_AFIO_AF(GPIOD_PIN0, 0) | \ #define VAL_GPIOD_AFRL (PIN_AFIO_AF(GPIOD_PIN0, 0) | \
PIN_AFIO_AF(GPIOD_PIN1, 0) | \ PIN_AFIO_AF(GPIOD_PIN1, 0) | \
PIN_AFIO_AF(GPIOD_PIN2, 0) | \ PIN_AFIO_AF(GPIOD_PIN2, 0) | \

View File

@ -498,7 +498,7 @@
<pin12 <pin12
ID="LED4" ID="LED4"
Type="PushPull" Type="PushPull"
Level="High" Level="Low"
Speed="Maximum" Speed="Maximum"
Resistor="Floating" Resistor="Floating"
Mode="Output" Mode="Output"
@ -506,7 +506,7 @@
<pin13 <pin13
ID="LED3" ID="LED3"
Type="PushPull" Type="PushPull"
Level="High" Level="Low"
Speed="Maximum" Speed="Maximum"
Resistor="Floating" Resistor="Floating"
Mode="Output" Mode="Output"
@ -514,7 +514,7 @@
<pin14 <pin14
ID="LED5" ID="LED5"
Type="PushPull" Type="PushPull"
Level="High" Level="Low"
Speed="Maximum" Speed="Maximum"
Resistor="Floating" Resistor="Floating"
Mode="Output" Mode="Output"
@ -522,7 +522,7 @@
<pin15 <pin15
ID="LED6" ID="LED6"
Type="PushPull" Type="PushPull"
Level="High" Level="Low"
Speed="Maximum" Speed="Maximum"
Resistor="Floating" Resistor="Floating"
Mode="Output" Mode="Output"