Skip to content

Commit 7c159b6

Browse files
authored
Fix typo (#3256)
1 parent bc28f64 commit 7c159b6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

hil-test/tests/spi_full_duplex.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,9 @@ mod tests {
712712

713713
#[test]
714714
async fn cancel_stops_basic_async_spi_transfer(mut ctx: Context) {
715-
// Slow down. At 80kHz, the transfer is supposed to take a bit over 3 seconds.
716-
// We don't rely on the transfer speed much, just that it's slow enough
717-
// that we can detect pulses if cancelling the future leaves the transfer
718-
// running.
715+
// Slow down. We don't rely on the transfer speed much, just that it's slow
716+
// enough that we can detect pulses if cancelling the future leaves the
717+
// transfer running.
719718
ctx.spi
720719
.apply_config(&Config::default().with_frequency(Rate::from_khz(800)))
721720
.unwrap();

xtask/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ use strum::IntoEnumIterator;
1212
use xtask::{
1313
cargo::{CargoAction, CargoArgsBuilder},
1414
firmware::Metadata,
15-
target_triple, Package, Version,
15+
target_triple,
16+
Package,
17+
Version,
1618
};
1719

1820
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)