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 cda515a commit 963ee90Copy full SHA for 963ee90
esp32-wroom-rp/src/spi.rs
@@ -225,8 +225,8 @@ where
225
}
226
227
let mut params: [u8; ARRAY_LENGTH_PLACEHOLDER] = [0; 8];
228
- for param in params {
229
- params = self.get_byte().ok().unwrap()
+ for (index, _param) in params.into_iter().enumerate() {
+ params[index] = self.get_byte().ok().unwrap()
230
231
let control_byte: u8 = ControlByte::End as u8;
232
self.read_and_check_byte(&control_byte)?;
0 commit comments