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);

View File

@@ -12,10 +12,6 @@
#include <string.h>
#include <stdio.h>
#if 0
#include "usbd_cdc_vcp.h"
#endif
#include "board.h"
#undef errno
extern int errno;

View File

@@ -5,8 +5,8 @@
* Author: tkl
*/
#include <stdbool.h>
#include <stddef.h>
#include "board.h"
#include "ctx.h"
#include "cpu.h"
#include "stack.h"