mirror of https://github.com/arendst/Tasmota.git
fix jpeg compile core3 (#21387)
This commit is contained in:
parent
1d626225de
commit
61814e79fe
|
@ -66,7 +66,7 @@ typedef struct {
|
||||||
} rgb_jpg_decoder;
|
} rgb_jpg_decoder;
|
||||||
|
|
||||||
//input buffer
|
//input buffer
|
||||||
static uint32_t _jpg_read(void * arg, size_t index, uint8_t *buf, size_t len)
|
static size_t _jpg_read(void * arg, size_t index, uint8_t *buf, size_t len)
|
||||||
{
|
{
|
||||||
rgb_jpg_decoder * jpeg = (rgb_jpg_decoder *)arg;
|
rgb_jpg_decoder * jpeg = (rgb_jpg_decoder *)arg;
|
||||||
if(buf) {
|
if(buf) {
|
||||||
|
|
Loading…
Reference in New Issue