Explorar el Código

del:删除air302 ota代码

Dozingfiretruck hace 3 años
padre
commit
6920d9baad
Se han modificado 1 ficheros con 0 adiciones y 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. 初始化文件系统
   luat_fs_init();
-  //只有302启用老版OTA
-#ifdef AIR302
-    // 是否需要升级或者回滚
-    luat_ota_update_or_rollback();
-#else
 #ifdef LUAT_USE_OTA
   if (luat_ota_exec() == 0) {
     luat_os_reboot(5);
   }
-#endif
-
 #endif
 
   luat_main_call();