Skip to content

Commit

Permalink
Remove extra comma in DishwasherAlarmServer (#34325)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Jul 15, 2024
1 parent 4ece978 commit 049f5b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,13 @@ Status DishwasherAlarmServer::GetSupportedValue(EndpointId endpoint, BitMask<Ala
Status DishwasherAlarmServer::SetSupportedValue(EndpointId endpoint, const BitMask<AlarmMap> supported)
{
Status status = Status::Success;
;

if ((status = Attributes::Supported::Set(endpoint, supported)) != Status::Success)
{
ChipLogProgress(Zcl, "Dishwasher Alarm: ERR: writing supported, err:0x%x", to_underlying(status));
return status;
}

// Whenever there is change in Supported attribute, Latch should change accordingly (if possible).
BitMask<AlarmMap> latch;
if (GetLatchValue(endpoint, &latch) == Status::Success && !supported.HasAll(latch))
Expand Down

0 comments on commit 049f5b2

Please sign in to comment.