File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -856,19 +856,18 @@ def __init__(
856
856
# load and report booted OTA status
857
857
_boot_ctrl_loaded_ota_status = self .boot_controller .get_booted_ota_status ()
858
858
self ._live_ota_status = _boot_ctrl_loaded_ota_status
859
+ self .current_version = self .boot_controller .load_version ()
859
860
status_report_queue .put_nowait (
860
861
StatusReport (
861
- payload = OTAStatusChangeReport (
862
- new_ota_status = _boot_ctrl_loaded_ota_status ,
862
+ payload = SetOTAClientMetaReport (
863
+ firmware_version = self . current_version ,
863
864
),
864
865
)
865
866
)
866
-
867
- self .current_version = self .boot_controller .load_version ()
868
867
status_report_queue .put_nowait (
869
868
StatusReport (
870
- payload = SetOTAClientMetaReport (
871
- firmware_version = self . current_version ,
869
+ payload = OTAStatusChangeReport (
870
+ new_ota_status = _boot_ctrl_loaded_ota_status ,
872
871
),
873
872
)
874
873
)
You can’t perform that action at this time.
0 commit comments