Skip to content

Commit b166c76

Browse files
committed
Remove timer deviation tolerance depending on build mode
1 parent 4960408 commit b166c76

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

testsuite/tests/timer.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ mod tests {
107107

108108
// Deviation is high for smaller timer durations. Higher duratinons are pretty accurate.
109109
// TODO: Maybe the allowed deviation should changed depending on the duration?
110-
#[cfg(not(debug_assertions))]
111-
defmt::assert!(deviation < 15e-4);
112-
#[cfg(debug_assertions)]
113110
defmt::assert!(deviation < 40e-4);
114111
}
115112
state.timer = Some(timer);

0 commit comments

Comments
 (0)