Skip to content

Commit 67dfbdc

Browse files
committed
Use default implementation of delay_us
1 parent 4a2bf51 commit 67dfbdc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

riscv/src/delay.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ impl McycleDelay {
2121

2222
impl DelayNs for McycleDelay {
2323
#[inline]
24-
fn delay_us(&mut self, us: u32) {
25-
self.delay_ns(us * 1000)
26-
}
27-
28-
#[inline]
2924
fn delay_ns(&mut self, ns: u32) {
3025
let t0 = mcycle::read64();
3126
let ns_64: u64 = ns.into();

0 commit comments

Comments
 (0)