diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/can.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stm32/src/bin/can.rs b/tests/stm32/src/bin/can.rs index 8737ca8ee..acf545216 100644 --- a/tests/stm32/src/bin/can.rs +++ b/tests/stm32/src/bin/can.rs | |||
| @@ -80,8 +80,8 @@ async fn main(_spawner: Spawner) { | |||
| 80 | const MIN_LATENCY: Duration = Duration::from_micros(50); | 80 | const MIN_LATENCY: Duration = Duration::from_micros(50); |
| 81 | const MAX_LATENCY: Duration = Duration::from_micros(150); | 81 | const MAX_LATENCY: Duration = Duration::from_micros(150); |
| 82 | assert!( | 82 | assert!( |
| 83 | MIN_LATENCY < latency && latency < MAX_LATENCY, | 83 | MIN_LATENCY <= latency && latency <= MAX_LATENCY, |
| 84 | "{} < {} < {}", | 84 | "{} <= {} <= {}", |
| 85 | MIN_LATENCY, | 85 | MIN_LATENCY, |
| 86 | latency, | 86 | latency, |
| 87 | MAX_LATENCY | 87 | MAX_LATENCY |
