1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

atusb/fw2/: move board-specific items to board-specific file

- io.h: renamed to board.h
- Makefile (OBJS): added board.o
- atusb.c (reset_rf): moved to board.c
- board.h (reset_rf): give reset_rf a proper declaration
- atusb.c, ep.c, spi.c: include board.h instead of io.h
This commit is contained in:
Werner Almesberger
2011-02-10 07:19:55 -03:00
parent 6969e7d689
commit 4f0af39d4d
6 changed files with 38 additions and 33 deletions

View File

@@ -27,7 +27,7 @@
#include "at86rf230.h"
#include "atusb/ep0.h"
//#include "version.h"
#include "io.h"
#include "board.h"
#include "spi.h"
@@ -35,9 +35,6 @@
static const char *build_date = "today";
static unsigned build_number = 42;
extern void reset_rf(void);
#define debug(...)
#define error(...)