Explorar o código

del:删除air302 ota代码

Dozingfiretruck %!s(int64=3) %!d(string=hai) anos
pai
achega
6920d9baad
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      luat/modules/luat_main.c

+ 0 - 7
luat/modules/luat_main.c

@@ -198,17 +198,10 @@ int luat_main (void) {
 
 
   // 1. 初始化文件系统
   // 1. 初始化文件系统
   luat_fs_init();
   luat_fs_init();
-  //只有302启用老版OTA
-#ifdef AIR302
-    // 是否需要升级或者回滚
-    luat_ota_update_or_rollback();
-#else
 #ifdef LUAT_USE_OTA
 #ifdef LUAT_USE_OTA
   if (luat_ota_exec() == 0) {
   if (luat_ota_exec() == 0) {
     luat_os_reboot(5);
     luat_os_reboot(5);
   }
   }
-#endif
-
 #endif
 #endif
 
 
   luat_main_call();
   luat_main_call();