mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
svd2utra: fix duplicate enum discriminants error for offsets
This commit is contained in:
parent
bcb99ba727
commit
5ce93a8615
1 changed files with 1 additions and 1 deletions
|
|
@ -837,7 +837,7 @@ pub mod utra {
|
||||||
out,
|
out,
|
||||||
" {} = {},",
|
" {} = {},",
|
||||||
register.name.to_case(Case::UpperCamel),
|
register.name.to_case(Case::UpperCamel),
|
||||||
register.offset / 4
|
register.offset
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
writeln!(out, " }}")?;
|
writeln!(out, " }}")?;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue