Skip to content

Commit 200de24

Browse files
Send current version from Idle state (not only from first Connected)
1 parent 8870c4c commit 200de24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/SelfUpdateAgent.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ namespace sua {
7575
{ FotaEvent::ConnectivityLost , "Idle" , "Uninitialized" },
7676
{ FotaEvent::Start , "Idle" , "Failed" , FotaEvent::BundleVersionUnchanged },
7777
{ FotaEvent::Start , "Idle" , "Downloading" , FotaEvent::BundleVersionOK },
78+
{ FotaEvent::GetCurrentState , "Idle" , "SendCurrentState"},
7879
// from "SendCurrentState"
7980
{ FotaEvent::ConnectivityLost , "SendCurrentState", "Uninitialized" },
8081
{ FotaEvent::Waiting , "SendCurrentState", "Idle" },

0 commit comments

Comments
 (0)