Skip to content

Commit

Permalink
Silence this warning
Browse files Browse the repository at this point in the history
  • Loading branch information
datdenkikniet committed Feb 4, 2023
1 parent f646ab0 commit 40c35f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/peripherals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ mod pac_override_impl {

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

0 comments on commit 40c35f7

Please sign in to comment.