We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd663bd commit 5e193aeCopy full SHA for 5e193ae
src/generate/peripheral.rs
@@ -39,9 +39,9 @@ pub fn render(
39
40
let name_sc = Ident::new(&*p.name.to_sanitized_snake_case());
41
let base = if derive_regs {
42
- Ident::new(&*p_derivedfrom.unwrap().name.to_sanitized_snake_case());
+ Ident::new(&*p_derivedfrom.unwrap().name.to_sanitized_snake_case())
43
} else {
44
- name_sc.clone();
+ name_sc.clone()
45
};
46
47
// Insert the peripheral structure
0 commit comments