Skip to content

Commit

Permalink
fix: mcan sysctl cfg for hpm6e
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Aug 1, 2024
1 parent 5b7ef79 commit 84491fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hpm-data-gen/src/sysctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn match_peripheral_name(chip_name: &str, sdk_name: &str, periph_name: &str) ->
pname = pname.replace("TMR", "GPTMR")
}

if chip_name.starts_with("HPM53") || chip_name.starts_with("HPM68") {
if chip_name.starts_with("HPM53") || chip_name.starts_with("HPM68") || chip_name.starts_with("HPM6E") {
pname = pname.replace("CAN", "MCAN")
}

Expand Down

0 comments on commit 84491fd

Please sign in to comment.