Sanitize names from dashes more
@@ -11,7 +11,7 @@ pub const BITS_PER_BYTE: u32 = 8;
/// List of chars that some vendors use in their peripheral/field names but
/// that are not valid in Rust ident
-const BLACKLIST_CHARS: &[char] = &['(', ')', '[', ']', '/', ' '];
+const BLACKLIST_CHARS: &[char] = &['(', ')', '[', ']', '/', ' ', '-'];
#[derive(Clone, Copy, PartialEq)]
pub enum Target {
