Skip to content

Commit 0d39ac4

Browse files
committed
fix: i2s parallel is only applied to esp32
1 parent e2a03d2 commit 0d39ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp-hal/src/dma/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2757,7 +2757,7 @@ pub(crate) mod asynch {
27572757
where
27582758
CH: DmaTxChannel,
27592759
{
2760-
#[cfg_attr(esp32c2, allow(dead_code))]
2760+
#[cfg_attr(not(esp32), allow(dead_code))]
27612761
pub fn new(tx: &'a mut ChannelTx<Async, CH>) -> Self {
27622762
Self { tx }
27632763
}

0 commit comments

Comments
 (0)