mirror of
https://github.com/Bodmer/TJpg_Decoder.git
synced 2025-05-17 15:45:52 +08:00
Fix #6
This commit is contained in:
@ -521,7 +521,7 @@ JRESULT TJpg_Decoder::getSdJpgSize(uint16_t *w, uint16_t *h, File inFile) {
|
||||
*w = 0;
|
||||
*h = 0;
|
||||
|
||||
jpg_source = TJPG_FS_FILE;
|
||||
jpg_source = TJPG_SD_FILE;
|
||||
|
||||
jpgSdFile = inFile;
|
||||
|
||||
@ -594,4 +594,4 @@ JRESULT TJpg_Decoder::getJpgSize(uint16_t *w, uint16_t *h, const uint8_t jpeg_da
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user