We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986469f commit 0aff382Copy full SHA for 0aff382
src/sdcard/device.rs
@@ -253,7 +253,7 @@ where
253
let send_res = bus.write(&[0xFF; 10]);
254
255
// On failure, it's important to still flush.
256
- let flush_res = bus.flush().map_err(|_| SdCardDeviceError::Spi);
+ let flush_res = bus.flush();
257
258
send_res.map_err(|_| SdCardDeviceError::Spi)?;
259
flush_res.map_err(|_| SdCardDeviceError::Spi)?;
0 commit comments