Skip to content

Commit

Permalink
Loosen timer devitation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh3Rm4n committed Oct 27, 2021
1 parent 7306378 commit f3c5363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ mod tests {

// Deviation is high for smaller timer durations. Higher duratinons are pretty accurate.
// TODO: Maybe the allowed deviation should changed depending on the duration?
defmt::assert!(deviation < 40e-4);
defmt::assert!(deviation < 11e-02);
}
state.timer = Some(timer);
}
Expand Down

0 comments on commit f3c5363

Please sign in to comment.