Skip to content

Commit 70abf40

Browse files
committed
dwt: don't inline Comparator::configure
The function is a bit too large to warrant inlining.
1 parent 35bb481 commit 70abf40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/peripheral/dwt.rs

-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ pub enum DWTError {
360360

361361
impl Comparator {
362362
/// Configure the function of the comparator
363-
#[inline]
364363
pub fn configure(&self, settings: ComparatorFunction) -> Result<(), DWTError> {
365364
match settings {
366365
ComparatorFunction::Address(settings) => unsafe {

0 commit comments

Comments
 (0)