Skip to content

Commit bb620c0

Browse files
committed
fix incorrect stm32g4a1 feature flags
1 parent f8b6ff8 commit bb620c0

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/can.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ mod fdcan1 {
141141
feature = "stm32g483",
142142
feature = "stm32g484",
143143
feature = "stm32g491",
144-
feature = "stm32g4A1",
144+
feature = "stm32g4a1",
145145
))]
146146
mod fdcan2 {
147147
use super::sealed;

src/dma/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ macro_rules! dma_stream {
523523
feature = "stm32g483",
524524
feature = "stm32g484",
525525
feature = "stm32g491",
526-
feature = "stm32g49a",
526+
feature = "stm32g4a1",
527527
))]
528528
dma_stream!(
529529
// Note: the field names start from one, unlike the RM where they start from

src/dma/transfer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ transfer_constructor!(
707707
feature = "stm32g483",
708708
feature = "stm32g484",
709709
feature = "stm32g491",
710-
feature = "stm32g49a",
710+
feature = "stm32g4a1",
711711
))]
712712
transfer_constructor!(
713713
(DMA1, Stream6),

src/pwm.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ use crate::stm32::RCC;
181181
feature = "stm32g483",
182182
feature = "stm32g484",
183183
feature = "stm32g491",
184-
feature = "stm32g4A1"
184+
feature = "stm32g4a1"
185185
))]
186186
use crate::stm32::TIM20;
187187
#[cfg(any(
@@ -874,7 +874,7 @@ pins! {
874874
feature = "stm32g483",
875875
feature = "stm32g484",
876876
feature = "stm32g491",
877-
feature = "stm32g4A1"
877+
feature = "stm32g4a1"
878878
))]
879879
pins! {
880880
TIM20:
@@ -1753,7 +1753,7 @@ tim_pin_hal! {
17531753
feature = "stm32g483",
17541754
feature = "stm32g484",
17551755
feature = "stm32g491",
1756-
feature = "stm32g4A1"
1756+
feature = "stm32g4a1"
17571757
))]
17581758
tim_pin_hal! {
17591759
TIM20: (C1, cc1e, cc1p, ccmr1_output, oc1pe, oc1m, ccr1, u16, cc1ne, cc1np),

src/rcc/enable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ bus! {
152152
feature = "stm32g483",
153153
feature = "stm32g484",
154154
feature = "stm32g491",
155-
feature = "stm32g4A1"
155+
feature = "stm32g4a1"
156156
))]
157157
bus! {
158158
FDCAN2 => (APB1_1, 25),

0 commit comments

Comments
 (0)