aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-06-05 14:52:17 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-06-13 23:18:58 -0400
commit9971f999b382ef51a3a3d1db4a3385b7cc23a3a0 (patch)
tree4950714f34dfbdfb0a04cd51763e142c104c93e7 /src/avr/serial.c
parentff789058dfe5d3e5f34482f8410aaf0358e582e9 (diff)
downloadkutter-9971f999b382ef51a3a3d1db4a3385b7cc23a3a0.tar.gz
kutter-9971f999b382ef51a3a3d1db4a3385b7cc23a3a0.tar.xz
kutter-9971f999b382ef51a3a3d1db4a3385b7cc23a3a0.zip
generic: Create generic board infrastructure and move misc.h to it
Instead of creating a misc.h file in each board directory, create a generic board directory and declare misc.h there. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr/serial.c')
-rw-r--r--src/avr/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/serial.c b/src/avr/serial.c
index c73890dd..fc71cf0e 100644
--- a/src/avr/serial.c
+++ b/src/avr/serial.c
@@ -7,9 +7,9 @@
#include <avr/interrupt.h> // USART0_RX_vect
#include <string.h> // memmove
#include "autoconf.h" // CONFIG_SERIAL_BAUD
+#include "board/misc.h" // console_get_input
#include "sched.h" // DECL_INIT
#include "irq.h" // irq_save
-#include "misc.h" // console_get_input
#define SERIAL_BUFFER_SIZE 96
static char receive_buf[SERIAL_BUFFER_SIZE];