double defined symbols removed from lib

This commit is contained in:
tkl
2016-07-29 06:54:34 +02:00
parent 8b47a2b3e6
commit 77200b655d
6 changed files with 97 additions and 90 deletions

View File

@@ -170,7 +170,7 @@ static const struct gpio __led_5 = {
&gpio_fp
};
static const struct driver led_5 = {
const struct driver led_5 = {
DRIVER_TYPE_GPIO,
&__led_5,
};

View File

@@ -5,7 +5,7 @@
* Author: tkl
*/
#include "include/stm32f4-discovery.h"
#include "board.h"
void board_init(void) {
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0);