From e312e6e1620bd09470afee71e6590da0ba96f369 Mon Sep 17 00:00:00 2001 From: Luigi Sartor Piucco Date: Sun, 28 Jan 2024 14:38:42 -0300 Subject: [PATCH] fix(atmega-hal): Remove non-existent pins --- mcu/atmega-hal/src/port.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcu/atmega-hal/src/port.rs b/mcu/atmega-hal/src/port.rs index 80a4746e15..a4abf776c0 100644 --- a/mcu/atmega-hal/src/port.rs +++ b/mcu/atmega-hal/src/port.rs @@ -23,7 +23,7 @@ avr_hal_generic::impl_port_traditional! { avr_hal_generic::impl_port_traditional! { enum Ports { B: crate::pac::PORTB = [0, 1, 2, 3, 4, 5, 6, 7], - C: crate::pac::PORTC = [0, 1, 2, 3, 4, 5, 6, 7], + C: crate::pac::PORTC = [0, 1, 2, 3, 4, 5, 6], D: crate::pac::PORTD = [0, 1, 2, 3, 4, 5, 6, 7], E: crate::pac::PORTE = [0, 1, 2, 3], } @@ -36,7 +36,7 @@ avr_hal_generic::impl_port_traditional! { C: crate::pac::PORTC = [6, 7], D: crate::pac::PORTD = [0, 1, 2, 3, 4, 5, 6, 7], E: crate::pac::PORTE = [2, 6], - F: crate::pac::PORTF = [0, 1, 2, 3, 4, 5, 6, 7], + F: crate::pac::PORTF = [0, 1, 4, 5, 6, 7], } } @@ -49,7 +49,7 @@ avr_hal_generic::impl_port_traditional! { D: crate::pac::PORTD = [0, 1, 2, 3, 4, 5, 6, 7], E: crate::pac::PORTE = [0, 1, 2, 3, 4, 5, 6, 7], F: crate::pac::PORTF = [0, 1, 2, 3, 4, 5, 6, 7], - G: crate::pac::PORTG = [0, 1, 2, 3, 4, 5], + G: crate::pac::PORTG = [0, 1, 2, 3, 4], } }