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 0876bac commit 89d5a78Copy full SHA for 89d5a78
esp-hal/src/spi/master.rs
@@ -1407,7 +1407,7 @@ mod dma {
1407
1408
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
1409
if self.0.interrupts().contains(SpiInterrupt::TransferDone) {
1410
- #[cfg(esp32)]
+ #[cfg(any(esp32, esp32s2))]
1411
// Need to poll for done-ness even after interrupt fires.
1412
if self.0.busy() {
1413
cx.waker().wake_by_ref();
0 commit comments