Skip to content

Commit 0c2714b

Browse files
committed
I2S logging compile warning
1 parent 65034d4 commit 0c2714b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioI2S/I2SESP32V1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class I2SDriverESP32V1 {
202202
int size = cfg.buffer_size * cfg.buffer_count;
203203
int frame_size = cfg.bits_per_sample * cfg.channels / 8;
204204
if (size > 0) result.dma_frame_num = size / frame_size;
205-
LOGI("dma_frame_num: %d", result.dma_frame_num);
205+
LOGI("dma_frame_num: %d", (int)result.dma_frame_num);
206206
result.auto_clear = cfg.auto_clear;
207207
return result;
208208
}

0 commit comments

Comments
 (0)