error correction in board file for stm32f4-discovery

This commit is contained in:
tkl 2016-08-03 11:36:55 +02:00
parent 1938cfbd7e
commit c7eaa74c1b

View File

@ -113,16 +113,16 @@ static const struct stm32f4_gpio stm32_f4_discovery_led_3 = {
NULL
};
#ifdef TEST_APP
static const struct gpio __led_3 = {
#else
const struct gpio __led_3 = {
#endif
(void*)&stm32_f4_discovery_led_3,
&gpio_fp
};
#ifdef TEST_APP
static const struct driver led_3 = {
#else
const struct driver led_3 = {
#endif
DRIVER_TYPE_GPIO,
&__led_3,
};