Skip to content

Commit

Permalink
Add missing uint32_t parameters to src/app/encoder.cpp (#3477)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Nov 10, 2020
1 parent b69c5bd commit 061849a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 061849a

Please sign in to comment.