avr: Define PORTE on atmega328p
The atmega328pb supports PORTE, but the current avr-libc toolchain doesn't support the atmega328pb. So, for now, add support for PORTE to atmega328p. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -34,7 +34,7 @@ static const uint8_t adc_pins[] PROGMEM = {
|
||||
};
|
||||
|
||||
// The atmega168/328 have two analog only pins
|
||||
#if CONFIG_MACH_atmega168 || CONFIG_MACH_atmega328 || CONFIG_MACH_atmega328p
|
||||
#if CONFIG_MACH_atmega168 || CONFIG_MACH_atmega328
|
||||
DECL_ENUMERATION_RANGE("pin", "PE2", GPIO('E', 2), 2);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user