From f65c20161200bb6adb2a6b1fd67f70a3d720ddfa Mon Sep 17 00:00:00 2001 From: Juraj Sadel Date: Fri, 20 Sep 2024 16:28:55 +0200 Subject: [PATCH] clean dead code --- esp-hal/src/timer/systimer.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/esp-hal/src/timer/systimer.rs b/esp-hal/src/timer/systimer.rs index abb5b2918bd..4354b7841c3 100644 --- a/esp-hal/src/timer/systimer.rs +++ b/esp-hal/src/timer/systimer.rs @@ -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(); } @@ -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(); } @@ -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(); } }