Skip to content

Commit 40c35f7

Browse files
committed
Silence this warning
1 parent f646ab0 commit 40c35f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/peripherals.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ mod pac_override_impl {
196196

197197
#[doc = r"Return the pointer to the register block"]
198198
#[inline(always)]
199+
#[cfg_attr(not(feature = "ptp"), allow(unused))]
199200
pub const fn ptr() -> *const MacRegisterBlock {
200201
Self::PTR
201202
}

0 commit comments

Comments
 (0)