Skip to content

Commit 824f9c4

Browse files
committed
Device: fix missing initializer warnign
1 parent e649174 commit 824f9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloudDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ ArduinoCloudDevice::State ArduinoCloudDevice::handleSendCapabilities() {
110110
deliver(reinterpret_cast<Message*>(&deviceBegin));
111111

112112
/* Subscribe to device topic to request */
113-
ThingBeginCmd thingBegin = { ThingBeginCmdId };
113+
ThingBeginCmd thingBegin = { ThingBeginCmdId, {} };
114114
deliver(reinterpret_cast<Message*>(&thingBegin));
115115

116116
/* No device configuration received. Wait: 4s -> 8s -> 16s -> 32s -> 32s ...*/

0 commit comments

Comments
 (0)