mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 15:03:41 +00:00
Fix portL mappings for atmega2560 (#1222)
* machine/atmega2560: fix portL mapping for atmega2560
This commit is contained in:
@@ -94,7 +94,7 @@ const (
|
|||||||
PL4 = portL + 4
|
PL4 = portL + 4
|
||||||
PL5 = portL + 5
|
PL5 = portL + 5
|
||||||
PL6 = portL + 6
|
PL6 = portL + 6
|
||||||
PL7 = portE + 7
|
PL7 = portL + 7
|
||||||
)
|
)
|
||||||
|
|
||||||
// getPortMask returns the PORTx register and mask for the pin.
|
// getPortMask returns the PORTx register and mask for the pin.
|
||||||
|
|||||||
Reference in New Issue
Block a user