From 33024d4aa2cb84a0571ff60ebb53b46bcb4bc7f8 Mon Sep 17 00:00:00 2001 From: Branden Timm Date: Wed, 8 Jul 2020 12:02:10 -0500 Subject: [PATCH] Fix portL mappings for atmega2560 (#1222) * machine/atmega2560: fix portL mapping for atmega2560 --- src/machine/machine_atmega2560.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/machine_atmega2560.go b/src/machine/machine_atmega2560.go index fe76f1d4..f14731aa 100644 --- a/src/machine/machine_atmega2560.go +++ b/src/machine/machine_atmega2560.go @@ -94,7 +94,7 @@ const ( PL4 = portL + 4 PL5 = portL + 5 PL6 = portL + 6 - PL7 = portE + 7 + PL7 = portL + 7 ) // getPortMask returns the PORTx register and mask for the pin.