mirror of https://github.com/arendst/Tasmota.git
Bugfix: crash when using tjpegd and LVGL (#21544)
* prevent crashes when using tjpegd in other places in Tasmota * do not use external tjpegd in Tasmota
This commit is contained in:
parent
e13c0a7114
commit
979dd86730
|
@ -24,6 +24,7 @@
|
|||
/ Some performance improvement.
|
||||
/----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef TASMOTA // has tjpegd in ROM
|
||||
#include "tjpgd.h"
|
||||
|
||||
|
||||
|
@ -1135,3 +1136,5 @@ JRESULT jd_decomp(
|
|||
|
||||
return rc;
|
||||
}
|
||||
#endif // TASMOTA
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/*----------------------------------------------------------------------------/
|
||||
/ TJpgDec - Tiny JPEG Decompressor R0.03 include file (C)ChaN, 2021
|
||||
/----------------------------------------------------------------------------*/
|
||||
#ifndef TASMOTA // has tjpegd in ROM
|
||||
#ifndef DEF_TJPGDEC
|
||||
#define DEF_TJPGDEC
|
||||
|
||||
|
@ -101,3 +102,4 @@ JRESULT jd_restart(JDEC * jd, uint16_t rstn);
|
|||
#endif
|
||||
|
||||
#endif /* _TJPGDEC */
|
||||
#endif // TASMOTA
|
||||
|
|
Loading…
Reference in New Issue