Skip to content

Commit 6c78482

Browse files
committed
I2SDriverSTM32
1 parent a84634d commit 6c78482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioI2S/I2SSTM32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class I2SDriverSTM32 {
7676
int availableForWrite() {
7777
if (!active) return 0;
7878
if (use_dma && p_tx_buffer == nullptr) return 0;
79-
return cfg.buffer_size * 2;
79+
return cfg.buffer_size;
8080
}
8181

8282
/// provides the actual configuration

0 commit comments

Comments
 (0)