|
|
@@ -39,7 +39,7 @@
|
|
|
# define PIND_ADDRESS 0x9
|
|
|
# define PINE_ADDRESS 0xC
|
|
|
# define PINF_ADDRESS 0xF
|
|
|
-# elif defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__)
|
|
|
+# elif defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)
|
|
|
# define ADDRESS_BASE 0x00
|
|
|
# define PINB_ADDRESS 0x3
|
|
|
# define PINC_ADDRESS 0x6
|
|
|
@@ -58,11 +58,6 @@
|
|
|
# define PINC_ADDRESS 0x3
|
|
|
# define PINB_ADDRESS 0x6
|
|
|
# define PINA_ADDRESS 0x9
|
|
|
-# elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)
|
|
|
-# define ADDRESS_BASE 0x00
|
|
|
-# define PINB_ADDRESS 0x3
|
|
|
-# define PINC_ADDRESS 0x6
|
|
|
-# define PIND_ADDRESS 0x9
|
|
|
# elif defined(__AVR_ATtiny85__)
|
|
|
# define ADDRESS_BASE 0x10
|
|
|
# define PINB_ADDRESS 0x6
|