Explorar o código

add: base适配添加Air690

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
6d1531734a
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      app/port/luat_base_air101.c

+ 4 - 4
app/port/luat_base_air101.c

@@ -303,15 +303,15 @@ void luat_openlibs(lua_State *L) {
 
 const char* luat_os_bsp(void)
 {
-#ifdef AIR601
+#if defined(AIR601)
     return "AIR601";
-#else
-#ifdef AIR103
+#elif defined(AIR690)
+    return "AIR690";
+#elif defined(AIR103)
     return "AIR103";
 #else
     return "AIR101";
 #endif
-#endif
 }
 
 #include "wm_watchdog.h"