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,8 +206,9 @@ 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()
# OTA plain check if current_settings["user_cfg"]["sw_ota"] is True:
controller.remote_ota_check() # OTA plain check
controller.remote_ota_check()
# Low energy init # Low energy init
controller.low_energy_init() controller.low_energy_init()
# Low energy start # Low energy start