Move pins_atmega8.h to mcu_atmega8_pins.h
authorMalte S. Stretz <mss@apache.org>
Sat, 10 Jan 2009 19:37:06 +0000 (19:37 +0000)
committerMalte S. Stretz <mss@apache.org>
Sat, 10 Jan 2009 19:37:06 +0000 (19:37 +0000)
src/mcu.h
src/mcu_atmega8_pins.h [moved from src/pins_atmega8.h with 100% similarity]
src/pins.h

index 201aa81..a3c4318 100644 (file)
--- a/src/mcu.h
+++ b/src/mcu.h
@@ -6,6 +6,7 @@
 
 #ifdef __AVR_ATmega8__
 #include "mcu_atmega8.h"
+#include "mcu_atmega8_pins.h"
 #else
 #error Unknown MCU
 #endif
similarity index 100%
rename from src/pins_atmega8.h
rename to src/mcu_atmega8_pins.h
index f4160cd..196d9dd 100644 (file)
 #define pin_SFR_PRT(port, pin) PORT ## port\r
 #define pin_SFR_DDR(port, pin) DDR  ## port\r
 \r
-//////////////////////////////////////////\r
-\r
-#ifdef __AVR_ATmega8__\r
-#include "pins_atmega8.h"\r
-#else\r
-#error Unknown MCU\r
-#endif\r