Skip to content

Commit 9b76da7

Browse files
committed
[I2S] Fix lib-builder error
1 parent 747b6d0 commit 9b76da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/I2S/src/I2S.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ void I2SClass::_post_read_data_fix(void *input, size_t *size){
990990
void I2SClass::_fix_and_write(void *output, size_t size, size_t *bytes_written, size_t *actual_bytes_written){
991991
long start = millis();
992992
ulong src_ptr = 0;
993-
uint8_t* buff;
993+
uint8_t* buff = NULL;
994994
size_t buff_size = size;
995995
switch(_bitsPerSample){
996996
case 8:

0 commit comments

Comments
 (0)