Skip to content

Commit

Permalink
Merge pull request #906 from rust-embedded/cluster-derive
Browse files Browse the repository at this point in the history
fix cluster derive
  • Loading branch information
burrbull authored Feb 8, 2025
2 parents 93918f0 + 3807ab4 commit 12c144c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generate/peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,8 +1410,8 @@ fn cluster_block(

Ok(quote! {
#[doc = #description]
pub use self::#derived as #block_ty;
pub use self::#mod_derived as #mod_ty;
pub use #derived as #block_ty;
pub use #mod_derived as #mod_ty;
})
} else {
let cpath = path.new_cluster(&c.name);
Expand Down

0 comments on commit 12c144c

Please sign in to comment.