Skip to content

Commit 0000df3

Browse files
ArduinoIoTCloudThing removing params
1 parent 3f3195f commit 0000df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArduinoIoTCloudThing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ void ArduinoCloudThing::handleMessage(Message* m) {
7171
if (m != nullptr) {
7272
_command = static_cast<CommandId>(m->id);
7373
if (_command == TimezoneCommandDownId) {
74-
_utcOffset = reinterpret_cast<TimezoneCommandDown*>(m)->params.offset;
75-
_utcOffsetExpireTime = reinterpret_cast<TimezoneCommandDown*>(m)->params.until;
74+
_utcOffset = reinterpret_cast<TimezoneCommandDown*>(m)->offset;
75+
_utcOffsetExpireTime = reinterpret_cast<TimezoneCommandDown*>(m)->until;
7676
}
7777
}
7878

0 commit comments

Comments
 (0)