From c7eaa74c1b17b7574f0f0491d522edf351246c44 Mon Sep 17 00:00:00 2001 From: tkl Date: Wed, 3 Aug 2016 11:36:55 +0200 Subject: [PATCH] error correction in board file for stm32f4-discovery --- .../board/stm32f4-discovery/include/stm32f4-discovery.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/firmware/arch/stm32f4xx/board/stm32f4-discovery/include/stm32f4-discovery.h b/source/firmware/arch/stm32f4xx/board/stm32f4-discovery/include/stm32f4-discovery.h index ac1816f..81faad3 100755 --- a/source/firmware/arch/stm32f4xx/board/stm32f4-discovery/include/stm32f4-discovery.h +++ b/source/firmware/arch/stm32f4xx/board/stm32f4-discovery/include/stm32f4-discovery.h @@ -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, };