File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ use strum::IntoEnumIterator;
1212use xtask:: {
1313 cargo:: { CargoAction , CargoArgsBuilder } ,
1414 firmware:: Metadata ,
15- target_triple, Package , Version ,
15+ target_triple,
16+ Package ,
17+ Version ,
1618} ;
1719
1820// ----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments