From 52ff303ae9bc01845154fa43be952fa9dcfa836c Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Tue, 31 Oct 2023 09:18:27 +0200 Subject: [PATCH] examples: Remove obsolete comment Now that asymmetric transfers have been fixed, drop unneeded comment. --- examples/spi-eh1-loopback.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/spi-eh1-loopback.rs b/examples/spi-eh1-loopback.rs index 6fc0098..1bf92ce 100644 --- a/examples/spi-eh1-loopback.rs +++ b/examples/spi-eh1-loopback.rs @@ -40,10 +40,6 @@ fn main() { assert_eq!(write, read); println!(" SUCCESS"); - // XXX: After we do an asymmetric transfer, we still have two leftover - // bytes are still in the read buffer, which breaks tests afterwards. - // Spi::flush(&mut spi) doesn't help either - // --- Asymmetric transfer (Read more than we write) --- print!("Starting asymetric transfer (read > write)..."); let mut read: [u8; 4] = [0x00; 4];