Jelajahi Sumber

update:开启bit64库支持

alienwalker 3 tahun lalu
induk
melakukan
c5fd233af9

+ 1 - 1
application/include/luat_conf_bsp.h

@@ -95,7 +95,7 @@
 // #define LUAT_USE_MAX30102
 // #define LUAT_USE_MLX90640 1
 #define LUAT_USE_MINIZ 1
-
+#define LUAT_USE_BIT64 1
 //----------------------------
 // 高通字体, 需配合芯片使用
 #define LUAT_USE_GTFONT 1

+ 3 - 0
application/src/luat_base_air105.c

@@ -261,6 +261,9 @@ static const luaL_Reg loadedlibs[] = {
 #endif
 #ifdef LUAT_USE_ICONV
   {"iconv", luaopen_iconv},
+#endif
+#ifdef LUAT_USE_BIT64
+  {"bit64", luaopen_bit64},
 #endif
   {NULL, NULL}
 };