diff --git a/svd-encoder/src/config.rs b/svd-encoder/src/config.rs index 0292d17..1f4e26d 100644 --- a/svd-encoder/src/config.rs +++ b/svd-encoder/src/config.rs @@ -182,7 +182,7 @@ impl Sorting { fn from_parts(parts: &[&str]) -> Option { if parts.contains(&"Offset") { Some(Self::Offset) - } else if parts.contains(&"OffsetReserved") { + } else if parts.contains(&"OffsetReversed") { Some(Self::OffsetReversed) } else if parts.contains(&"Name") { Some(Self::Name)