aboutsummaryrefslogtreecommitdiff
path: root/cyw43/src/bus.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cyw43/src/bus.rs')
-rw-r--r--cyw43/src/bus.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/cyw43/src/bus.rs b/cyw43/src/bus.rs
index 8a53484d5..aa2b66a40 100644
--- a/cyw43/src/bus.rs
+++ b/cyw43/src/bus.rs
@@ -340,11 +340,7 @@ where
340 self.status = self.spi.cmd_read(cmd, &mut buf[..len]).await; 340 self.status = self.spi.cmd_read(cmd, &mut buf[..len]).await;
341 341
342 // if we read from the backplane, the result is in the second word, after the response delay 342 // if we read from the backplane, the result is in the second word, after the response delay
343 if func == FUNC_BACKPLANE { 343 if func == FUNC_BACKPLANE { buf[1] } else { buf[0] }
344 buf[1]
345 } else {
346 buf[0]
347 }
348 } 344 }
349 345
350 async fn writen(&mut self, func: u32, addr: u32, val: u32, len: u32) { 346 async fn writen(&mut self, func: u32, addr: u32, val: u32, len: u32) {