Quellcode durchsuchen

update:lcd_draw_jpeg add weak

Dozingfiretruck vor 8 Monaten
Ursprung
Commit
078e234dcc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 */