diff --git a/esp-hal/src/spi/master.rs b/esp-hal/src/spi/master.rs index 9fa421907d7..3d674b0e6f1 100644 --- a/esp-hal/src/spi/master.rs +++ b/esp-hal/src/spi/master.rs @@ -2172,9 +2172,8 @@ mod ehal1 { SpiBus::write(self, &write[write_from..write_to])?; } - SpiBus::flush(self)?; - if read_inc > 0 { + SpiBus::flush(self)?; self.spi .read_bytes_from_fifo(&mut read[read_from..read_to])?; }