Skip to content

Commit ad2c540

Browse files
committed
[BUGFIX] Fixed data type which was causing crashes
1 parent d7eb3f3 commit ad2c540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class I2SClass : public Stream
110110
uint16_t _buffer_byte_size;
111111
uint16_t _output_buffer_pointer;
112112
uint16_t _input_buffer_pointer;
113-
uint16_t _read_available;
113+
size_t _read_available;
114114
SemaphoreHandle_t _in_buf_semaphore;
115115
SemaphoreHandle_t _out_buf_semaphore;
116116
void *_inputBuffer;

0 commit comments

Comments
 (0)