From 8e1c0941b0664b102ec18a60ac61719aa9d7f9bc Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 10 Jun 2016 21:04:27 -0400 Subject: generic: Add new file generic/io.h and move read/writeb() to it Move the definitions of the readb() style functions to a new header generic/io.h. This eliminates the dependency of stdint.h on compiler.h. Signed-off-by: Kevin O'Connor --- src/avr/serial.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/avr/serial.c') diff --git a/src/avr/serial.c b/src/avr/serial.c index fc71cf0e..33b42fc6 100644 --- a/src/avr/serial.c +++ b/src/avr/serial.c @@ -7,6 +7,7 @@ #include // USART0_RX_vect #include // memmove #include "autoconf.h" // CONFIG_SERIAL_BAUD +#include "board/io.h" // readb #include "board/misc.h" // console_get_input #include "sched.h" // DECL_INIT #include "irq.h" // irq_save -- cgit v1.2.3-70-g09d2