Browse Source

fix:GT_Font_Init默认实现返回值

Dozingfiretruck 9 months ago
parent
commit
53130d0c85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/gtfont/luat_lib_gtfont.c

+ 1 - 1
components/gtfont/luat_lib_gtfont.c

@@ -178,7 +178,7 @@ void gtfont_draw_gray_hz (unsigned char *data,unsigned short x,unsigned short y,
 
 #ifndef LUAT_COMPILER_NOWEAK
 LUAT_WEAK int GT_Font_Init(void) {
-    return 1;
+    return 0;
 }
 #endif