mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 01:00:25 +09:00
avr: Fix typo causing broken gpio mappings
Commit 070fac07 had a typo causing two PINE definitions to be added to
the list of available GPIOs.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -18,7 +18,7 @@ DECL_ENUMERATION_RANGE("pin", "PA0", GPIO('A', 0), 8);
|
|||||||
DECL_ENUMERATION_RANGE("pin", "PB0", GPIO('B', 0), 8);
|
DECL_ENUMERATION_RANGE("pin", "PB0", GPIO('B', 0), 8);
|
||||||
DECL_ENUMERATION_RANGE("pin", "PC0", GPIO('C', 0), 8);
|
DECL_ENUMERATION_RANGE("pin", "PC0", GPIO('C', 0), 8);
|
||||||
DECL_ENUMERATION_RANGE("pin", "PD0", GPIO('D', 0), 8);
|
DECL_ENUMERATION_RANGE("pin", "PD0", GPIO('D', 0), 8);
|
||||||
#ifdef CONFIG_MACH_atmega328p
|
#if CONFIG_MACH_atmega328p
|
||||||
DECL_ENUMERATION_RANGE("pin", "PE0", GPIO('E', 0), 8);
|
DECL_ENUMERATION_RANGE("pin", "PE0", GPIO('E', 0), 8);
|
||||||
#endif
|
#endif
|
||||||
#ifdef PINE
|
#ifdef PINE
|
||||||
@@ -40,7 +40,7 @@ volatile uint8_t * const digital_regs[] PROGMEM = {
|
|||||||
NULL,
|
NULL,
|
||||||
#endif
|
#endif
|
||||||
&PINB, &PINC, &PIND,
|
&PINB, &PINC, &PIND,
|
||||||
#ifdef CONFIG_MACH_atmega328p
|
#if CONFIG_MACH_atmega328p
|
||||||
&_SFR_IO8(0x0C), // PINE on atmega328pb
|
&_SFR_IO8(0x0C), // PINE on atmega328pb
|
||||||
#endif
|
#endif
|
||||||
#ifdef PINE
|
#ifdef PINE
|
||||||
|
|||||||
Reference in New Issue
Block a user