From 061849a80005af5e5c873dc0167d172a31c55f75 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 27 Oct 2020 19:09:33 +0100 Subject: [PATCH] Add missing uint32_t parameters to src/app/encoder.cpp (#3477) --- src/app/encoder.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/encoder.cpp b/src/app/encoder.cpp index 3423c0b8dc9bc4..b3a4f985407612 100644 --- a/src/app/encoder.cpp +++ b/src/app/encoder.cpp @@ -1228,6 +1228,8 @@ uint16_t encodeDoorLockClusterSetHolidayScheduleCommand(uint8_t * buffer, uint16 const char * kName = "DoorLockSetHolidaySchedule"; COMMAND_HEADER(kName, DOOR_LOCK_CLUSTER_ID, 0x11); buf.Put(holidayScheduleID); + buf.PutLE32(localStartTime); + buf.PutLE32(localEndTime); buf.Put(operatingModeDuringHoliday); COMMAND_FOOTER(kName); } @@ -1305,6 +1307,8 @@ uint16_t encodeDoorLockClusterSetYearDayScheduleCommand(uint8_t * buffer, uint16 COMMAND_HEADER(kName, DOOR_LOCK_CLUSTER_ID, 0x0E); buf.Put(scheduleID); buf.PutLE16(userID); + buf.PutLE32(localStartTime); + buf.PutLE32(localEndTime); COMMAND_FOOTER(kName); }