Skip to content

Commit

Permalink
Apply manual patch for wrong generation of svd2rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Geipert authored and jbeaurivage committed Oct 24, 2023
1 parent 1824f1c commit 515d385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pac/atsamd21g/src/port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub struct RegisterBlock {
pub wrconfig1: WRCONFIG,
_reserved24: [u8; 0x04],
#[doc = "0xb0..0xc0 - Peripheral Multiplexing n - Group 1"]
pub pmux1_0: [PMUX1_0; 16],
pub pmux1_0: [PMUX1_; 16],
#[doc = "0xc0..0xe0 - Pin Configuration n - Group 1"]
pub pincfg1_0: [PINCFG1_0; 32],
pub pincfg1_0: [PINCFG1_; 32],
}
#[doc = "DIR (rw) register accessor: an alias for `Reg<DIR_SPEC>`"]
pub type DIR = crate::Reg<dir::DIR_SPEC>;
Expand Down
4 changes: 2 additions & 2 deletions pac/atsamd21j/src/port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub struct RegisterBlock {
pub wrconfig1: WRCONFIG,
_reserved24: [u8; 0x04],
#[doc = "0xb0..0xc0 - Peripheral Multiplexing n - Group 1"]
pub pmux1_0: [PMUX1_0; 16],
pub pmux1_0: [PMUX1_; 16],
#[doc = "0xc0..0xe0 - Pin Configuration n - Group 1"]
pub pincfg1_0: [PINCFG1_0; 32],
pub pincfg1_0: [PINCFG1_; 32],
}
#[doc = "DIR (rw) register accessor: an alias for `Reg<DIR_SPEC>`"]
pub type DIR = crate::Reg<dir::DIR_SPEC>;
Expand Down

0 comments on commit 515d385

Please sign in to comment.