From 16bf3b97a1d0edfbf884299cb8459d9a842935d9 Mon Sep 17 00:00:00 2001 From: Quentin Smart Date: Sun, 15 Jun 2014 09:56:59 +1200 Subject: [PATCH] Allow PORTA on ATMega2560 --- gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpio.h b/gpio.h index 259c7b8..437b996 100755 --- a/gpio.h +++ b/gpio.h @@ -70,7 +70,7 @@ typedef Port PortB; typedef Port PortC; typedef Port PortD; -#if defined(ATMEGA164P) || defined(ATMEGA324P) || defined(ATMEGA644P) || defined(ATMEGA1284P) +#if defined(ATMEGA164P) || defined(ATMEGA324P) || defined(ATMEGA644P) || defined(ATMEGA1284P) || defined(ATmega2560) IORegister(DDRA); IORegister(PORTA);