소스 검색

Merge pull request #45 from yangfasheng/master

提高 rtgui_system_server_init 在自动初始化序列中的优先级
yangfasheng 7 년 전
부모
커밋
63c39c4f8d
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      src/font_freetype.c
  2. 1 1
      src/rtgui_system.c

+ 4 - 0
src/font_freetype.c

@@ -52,6 +52,10 @@
 #define PINFO(...)
 #endif
 
+#ifndef RT_DFS_ELM_MAX_LFN
+#define RT_DFS_ELM_MAX_LFN 255
+#endif
+
 #define _dc_get_pixel(dc, x, y)	\
     ((dc)->pixel + (y) * (dc)->pitch + (x) * rtgui_color_get_bpp((dc)->pixel_format))
 

+ 1 - 1
src/rtgui_system.c

@@ -64,7 +64,7 @@ int rtgui_system_server_init(void)
 
     return 0;
 }
-INIT_APP_EXPORT(rtgui_system_server_init);
+INIT_ENV_EXPORT(rtgui_system_server_init);
 
 /************************************************************************/
 /* RTGUI Timer                                                          */