ソースを参照

update: 根据宏的不同,返回不同的bsp值. 严格来说应该统一返回xt804的, 历史遗留了

Wendal Chen 2 年 前
コミット
f02420a5da
1 ファイル変更4 行追加0 行削除
  1. 4 0
      app/port/luat_base_air101.c

+ 4 - 0
app/port/luat_base_air101.c

@@ -260,11 +260,15 @@ void luat_openlibs(lua_State *L) {
 
 const char* luat_os_bsp(void)
 {
+#ifdef LUAT_USE_WLAN
+    return "AIR601";
+#else
 #ifdef AIR103
     return "AIR103";
 #else
     return "AIR101";
 #endif
+#endif
 }
 
 #include "wm_watchdog.h"