Skip to content

Commit 86bbcc1

Browse files
committed
OTAInterface: add missing initializers
1 parent 7623846 commit 86bbcc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ota/interface/OTAInterface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ OTACloudProcessInterface::State OTACloudProcessInterface::otaBegin() {
106106

107107
struct OtaBeginUp msg = {
108108
OtaBeginUpId,
109+
{}
109110
};
110111

111112
SHA256 sha256_calc;
@@ -199,6 +200,7 @@ void OTACloudProcessInterface::reportStatus(int32_t state_data) {
199200

200201
struct OtaProgressCmdUp msg = {
201202
OtaProgressCmdUpId,
203+
{}
202204
};
203205

204206
memcpy(msg.params.id, context->id, ID_SIZE);

0 commit comments

Comments
 (0)