fix 32u2
This commit is contained in:
parent
486a483222
commit
8c63a02483
@ -35,6 +35,12 @@
|
|||||||
#define PIND_ADDRESS 0x9
|
#define PIND_ADDRESS 0x9
|
||||||
#define PINE_ADDRESS 0xC
|
#define PINE_ADDRESS 0xC
|
||||||
#define PINF_ADDRESS 0xF
|
#define PINF_ADDRESS 0xF
|
||||||
|
#elif defined(__AVR_ATmega32U2__)
|
||||||
|
#define pin_t uint8_t
|
||||||
|
#define ADDRESS_BASE 0x00
|
||||||
|
#define PINB_ADDRESS 0x3
|
||||||
|
#define PINC_ADDRESS 0x6
|
||||||
|
#define PIND_ADDRESS 0x9
|
||||||
#elif defined(__AVR_AT90USB1286__)
|
#elif defined(__AVR_AT90USB1286__)
|
||||||
#define pin_t uint8_t
|
#define pin_t uint8_t
|
||||||
#define ADDRESS_BASE 0x00
|
#define ADDRESS_BASE 0x00
|
||||||
|
Loading…
Reference in New Issue
Block a user