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 65034d4 commit 0c2714bCopy full SHA for 0c2714b
src/AudioI2S/I2SESP32V1.h
@@ -202,7 +202,7 @@ class I2SDriverESP32V1 {
202
int size = cfg.buffer_size * cfg.buffer_count;
203
int frame_size = cfg.bits_per_sample * cfg.channels / 8;
204
if (size > 0) result.dma_frame_num = size / frame_size;
205
- LOGI("dma_frame_num: %d", result.dma_frame_num);
+ LOGI("dma_frame_num: %d", (int)result.dma_frame_num);
206
result.auto_clear = cfg.auto_clear;
207
return result;
208
}
0 commit comments