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 fbaaa28 commit 4db9367Copy full SHA for 4db9367
src/generate/peripheral.rs
@@ -54,7 +54,7 @@ pub fn render(
54
55
impl #name_pc {
56
/// Returns a pointer to the register block
57
- pub fn ptr() -> *const #base::RegisterBlock {
+ pub const fn ptr() -> *const #base::RegisterBlock {
58
#address as *const _
59
}
60
0 commit comments