diff --git a/esp-hal/src/spi/master.rs b/esp-hal/src/spi/master.rs index ff045d7d702..9c6d778dace 100644 --- a/esp-hal/src/spi/master.rs +++ b/esp-hal/src/spi/master.rs @@ -598,7 +598,7 @@ where PeripheralClockControl::reset(this.spi.peripheral()); this.driver().init(); - this.apply_config(&config); + unwarp!(this.apply_config(&config)); // FIXME: update based on the resolution of https://github.com/esp-rs/esp-hal/issues/2416 let this = this .with_mosi(NoPin)