Skip to content

Commit

Permalink
revert: Revert S2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Apr 26, 2024
1 parent 819da0a commit f123d1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hil-test/tests/spi_full_duplex_dma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ mod tests {

let transfer = spi.dma_transfer(&mut send, &mut receive).unwrap();
transfer.wait().unwrap();
assert_eq!(send[0], receive[0]);
assert_eq!(send[1], receive[1]);
// Read the 2 remaining bytes so it does not cause issues in the next test.
let transfer = spi.dma_transfer(&mut send, &mut receive).unwrap();
transfer.wait().unwrap();
assert_eq!(send[0..1], receive[0..1]);
}

#[test]
Expand Down

0 comments on commit f123d1b

Please sign in to comment.