diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-08-20 09:05:14 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-20 09:05:14 +0000 |
| commit | 26870082427b64d3ca42691c55a2cded5eadc548 (patch) | |
| tree | 44cccda83fde82523b04d0230eb30ad8c04fc64c /tests | |
| parent | 6ef888d73e7aa09ae7cb8241553edc82073c3759 (diff) | |
| parent | 67ca88d5a031369f9bae99c55243625644c93a71 (diff) | |
Merge pull request #1805 from embassy-rs/update-nightly-6
Update Nightly.
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 |
