From 070fac07029ba81c990cc6f26dde8d6941042dd2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 24 Sep 2019 09:58:42 -0400 Subject: 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 --- src/avr/adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/avr/adc.c') diff --git a/src/avr/adc.c b/src/avr/adc.c index 25b979e0..1d16368d 100644 --- a/src/avr/adc.c +++ b/src/avr/adc.c @@ -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 -- cgit v1.2.3-70-g09d2