Skip to content

Commit

Permalink
clean dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajSadel committed Sep 20, 2024
1 parent 7c297cf commit f65c201
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions esp-hal/src/timer/systimer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1123,10 +1123,6 @@ mod asynch {
.modify(|_, w| w.target0().clear_bit());
});

// unsafe { &*crate::peripherals::SYSTIMER::PTR }
// .int_clr()
// .write(|w| w.target0().clear_bit_by_one());

WAKERS[0].wake();
}

Expand All @@ -1138,10 +1134,6 @@ mod asynch {
.modify(|_, w| w.target1().clear_bit());
});

// unsafe { &*crate::peripherals::SYSTIMER::PTR }
// .int_clr()
// .write(|w| w.target1().clear_bit_by_one());

WAKERS[1].wake();
}

Expand All @@ -1153,10 +1145,6 @@ mod asynch {
.modify(|_, w| w.target2().clear_bit());
});

// unsafe { &*crate::peripherals::SYSTIMER::PTR }
// .int_clr()
// .write(|w| w.target2().clear_bit_by_one());

WAKERS[2].wake();
}
}
Expand Down

0 comments on commit f65c201

Please sign in to comment.