Dozingfiretruck 8 месяцев назад
Родитель
Сommit
078e234dcc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/lcd/luat_lib_lcd_jpg.c

+ 1 - 1
components/lcd/luat_lib_lcd_jpg.c

@@ -77,7 +77,7 @@ static int lcd_out_func (JDEC* jd, void* bitmap, JRECT* rect){
     return 1;    /* Continue to decompress */
 }
 
-int lcd_draw_jpeg(luat_lcd_conf_t* conf, const char* path, int16_t x, int16_t y){
+LUAT_WEAK int lcd_draw_jpeg(luat_lcd_conf_t* conf, const char* path, int16_t x, int16_t y){
     JRESULT res;      /* Result code of TJpgDec API */
     JDEC jdec;        /* Decompression object */
     void *work;       /* Pointer to the decompressor work area */