diff --git a/src/util.rs b/src/util.rs index 8963cc1c..c67511fe 100644 --- a/src/util.rs +++ b/src/util.rs @@ -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 {