mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-21 02:17:31 +00:00
I2SDriverSTM32
This commit is contained in:
parent
a84634df2a
commit
6c784824cb
@ -76,7 +76,7 @@ class I2SDriverSTM32 {
|
||||
int availableForWrite() {
|
||||
if (!active) return 0;
|
||||
if (use_dma && p_tx_buffer == nullptr) return 0;
|
||||
return cfg.buffer_size * 2;
|
||||
return cfg.buffer_size;
|
||||
}
|
||||
|
||||
/// provides the actual configuration
|
||||
|
Loading…
Reference in New Issue
Block a user