error correction in board file for stm32f4-discovery
This commit is contained in:
parent
1938cfbd7e
commit
c7eaa74c1b
@ -113,16 +113,16 @@ static const struct stm32f4_gpio stm32_f4_discovery_led_3 = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef TEST_APP
|
|
||||||
static const struct gpio __led_3 = {
|
static const struct gpio __led_3 = {
|
||||||
#else
|
|
||||||
const struct gpio __led_3 = {
|
|
||||||
#endif
|
|
||||||
(void*)&stm32_f4_discovery_led_3,
|
(void*)&stm32_f4_discovery_led_3,
|
||||||
&gpio_fp
|
&gpio_fp
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef TEST_APP
|
||||||
static const struct driver led_3 = {
|
static const struct driver led_3 = {
|
||||||
|
#else
|
||||||
|
const struct driver led_3 = {
|
||||||
|
#endif
|
||||||
DRIVER_TYPE_GPIO,
|
DRIVER_TYPE_GPIO,
|
||||||
&__led_3,
|
&__led_3,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user