diff --git a/rp2040-hal/src/spi.rs b/rp2040-hal/src/spi.rs index f8c8590bf..6d152de04 100644 --- a/rp2040-hal/src/spi.rs +++ b/rp2040-hal/src/spi.rs @@ -248,10 +248,10 @@ impl, const DS: u8> Spi 0x00, FrameFormat::TexasInstrumentsSynchronousSerial => 0x01, FrameFormat::NationalSemiconductorMicrowire => 0x10, @@ -309,7 +309,7 @@ impl, const DS: u8> Spi { self.device.reset_bring_up(resets); self.set_baudrate(peri_frequency, baudrate); - self.set_format(DS, frame_format); + self.set_format(frame_format); self.set_slave(slave); // Always enable DREQ signals -- harmless if DMA is not listening self.device