Selaa lähdekoodia

change: bsp/win32也得按需启用luf

Wendal Chen 4 vuotta sitten
vanhempi
sitoutus
e8da344895
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      bsp/win32/port/luat_base_win32.c

+ 2 - 0
bsp/win32/port/luat_base_win32.c

@@ -44,7 +44,9 @@ static const luaL_Reg loadedlibs[] = {
   {"sfd",   luaopen_sfd},
   {"lfs2",   luaopen_lfs2},
   {"gpio",   luaopen_gpio},
+#ifdef LUAT_USE_LUF
   {"luf",    luaopen_luf},
+#endif
 #ifdef LUAT_USE_LVGL
   {"lvgl",   luaopen_lvgl},
 #endif