update: tracker ota check judgment

This commit is contained in:
JackSun 2022-05-17 17:08:53 +08:00
parent 588d4a9926
commit 12254378d2

View File

@ -206,6 +206,7 @@ def tracker():
collector.device_status_check() collector.device_status_check()
# Device info report to cloud # Device info report to cloud
controller.remote_device_report() controller.remote_device_report()
if current_settings["user_cfg"]["sw_ota"] is True:
# OTA plain check # OTA plain check
controller.remote_ota_check() controller.remote_ota_check()
# Low energy init # Low energy init