Skip to content

Commit

Permalink
fix incorrect stm32g4a1 feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkinne committed Jul 27, 2024
1 parent f8b6ff8 commit bb620c0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/can.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ mod fdcan1 {
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g4A1",
feature = "stm32g4a1",
))]
mod fdcan2 {
use super::sealed;
Expand Down
2 changes: 1 addition & 1 deletion src/dma/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ macro_rules! dma_stream {
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g49a",
feature = "stm32g4a1",
))]
dma_stream!(
// Note: the field names start from one, unlike the RM where they start from
Expand Down
2 changes: 1 addition & 1 deletion src/dma/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ transfer_constructor!(
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g49a",
feature = "stm32g4a1",
))]
transfer_constructor!(
(DMA1, Stream6),
Expand Down
6 changes: 3 additions & 3 deletions src/pwm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ use crate::stm32::RCC;
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g4A1"
feature = "stm32g4a1"
))]
use crate::stm32::TIM20;
#[cfg(any(
Expand Down Expand Up @@ -874,7 +874,7 @@ pins! {
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g4A1"
feature = "stm32g4a1"
))]
pins! {
TIM20:
Expand Down Expand Up @@ -1753,7 +1753,7 @@ tim_pin_hal! {
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g4A1"
feature = "stm32g4a1"
))]
tim_pin_hal! {
TIM20: (C1, cc1e, cc1p, ccmr1_output, oc1pe, oc1m, ccr1, u16, cc1ne, cc1np),
Expand Down
2 changes: 1 addition & 1 deletion src/rcc/enable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ bus! {
feature = "stm32g483",
feature = "stm32g484",
feature = "stm32g491",
feature = "stm32g4A1"
feature = "stm32g4a1"
))]
bus! {
FDCAN2 => (APB1_1, 25),
Expand Down

0 comments on commit bb620c0

Please sign in to comment.