Move general AVR includes to mcu.h, we need them all the time.
authorMalte S. Stretz <mss@apache.org>
Sat, 10 Jan 2009 21:52:59 +0000 (21:52 +0000)
committerMalte S. Stretz <mss@apache.org>
Sat, 10 Jan 2009 21:52:59 +0000 (21:52 +0000)
src/main.c
src/mcu.h

index cc5f2bd..e578b2a 100644 (file)
@@ -1,10 +1,5 @@
 // http://www.nongnu.org/avr-libc/user-manual/modules.html\r
 \r
-#include <inttypes.h>\r
-\r
-#include <avr/io.h>\r
-#include <avr/interrupt.h>\r
-\r
 #include "mcu.h"\r
 \r
 #include "sched.h"\r
index c35be57..1b43bb2 100644 (file)
--- a/src/mcu.h
+++ b/src/mcu.h
@@ -1,5 +1,10 @@
 #pragma once
 
+#include <inttypes.h>
+
+#include <avr/io.h>
+#include <avr/interrupt.h>
+
 #include "pins.h"
 
 #include "mcu_config.h"