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 fa3f2c2 commit 9044ed1Copy full SHA for 9044ed1
src/spi.rs
@@ -481,6 +481,13 @@ where
481
bufcap -= 1;
482
}
483
484
+ loop {
485
+ let sr = self.spi.sr.read();
486
+ if !sr.bsy().bit_is_set() {
487
+ break;
488
+ }
489
490
+
491
// Do one last status register check before continuing
492
self.check_send().ok();
493
Ok(())
@@ -525,6 +532,13 @@ where
525
532
self.send_u16(word.clone());
526
533
527
534
535
536
537
538
539
540
541
528
542
529
543
530
544
0 commit comments