We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6104d25 commit 12d9bbaCopy full SHA for 12d9bba
src/ArduinoIoTCloudDevice.cpp
@@ -119,8 +119,8 @@ ArduinoCloudDevice::State ArduinoCloudDevice::handleSendCapabilities() {
119
120
#if defined(BOARD_HAS_WIFI) && not defined(BOARD_ESP)
121
String WiFiFWVersion = WiFi.firmwareVersion();
122
- WiFiFWVersionMessage wifiFWVersionMessage = { WiFiFWVersionMessageId, WiFiFWVersion.c_str() };
123
- deliver(reinterpret_cast<Message*>(&wifiFWVersionMessage));
+ VersionMessage versionMessage = { WiFiFWVersionMessageId, WiFiFWVersion.c_str() };
+ deliver(reinterpret_cast<Message*>(&versionMessage));
124
#endif
125
/* Subscribe to device topic to request */
126
ThingBeginCmd thingBegin = { ThingBeginCmdId };
0 commit comments