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 749c751 commit 29ce843Copy full SHA for 29ce843
src/generate/peripheral.rs
@@ -62,7 +62,7 @@ pub fn render(
62
impl Deref for #name_pc {
63
type Target = #base::RegisterBlock;
64
65
- fn deref(&self) -> &#base::RegisterBlock {
+ fn deref(&self) -> &Self::Target {
66
unsafe { &*#name_pc::ptr() }
67
}
68
0 commit comments