Skip to content

Commit b8cbe2c

Browse files
committed
Fix wrong comment for chunk size
1 parent 0c9fa22 commit b8cbe2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boards/Inkplate6Motion/imageDecoderCallbacks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ bool static readBytesFromBufferPng(pngle_t *_pngle)
429429
// It there is still bytes to read, read them!
430430
if (_toread > 0)
431431
{
432-
// Constrain chunk ot only 2k or less.
432+
// Constrain chunk at only 8k or less.
433433
int _len = (_sessionHandle->fileBufferSize >= (_sessionHandle->bufferOffset + 8128))
434434
? 8128
435435
: _sessionHandle->fileBufferSize - _sessionHandle->bufferOffset;

0 commit comments

Comments
 (0)