Skip to content

Commit 20c2e20

Browse files
committed
make the re-exported core peripheral types uppercase as well
1 parent 45f1ed4 commit 20c2e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn device(d: &Device, items: &mut Vec<Tokens>) -> Result<()> {
6262
let p = Ident::new(*p);
6363

6464
items.push(quote! {
65-
pub use cortex_m::peripheral::#ty_;
65+
pub use cortex_m::peripheral::#ty_ as #p;
6666
pub use cortex_m::peripheral::#p;
6767
});
6868
}

0 commit comments

Comments
 (0)