Skip to content

Commit

Permalink
https://github.com/project-chip/connectedhomeip/pull/26082#discussion…
Browse files Browse the repository at this point in the history
…_r1242668186
  • Loading branch information
fessehaeve committed Mar 28, 2024
1 parent 036e7bf commit b1d236e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ bool emberAfTimeSynchronizationClusterSetUTCTimeCallback(
commandObj->AddStatus(commandPath, Status::InvalidCommand);
return true;
}
if (timeSource.HasValue() && (timeSource.Value() < TimeSourceEnum::kNone || timeSource.Value() > TimeSourceEnum::kGnss))
if (timeSource.HasValue() && timeSource.Value() == TimeSourceEnum::kUnknownEnumValue)
{
commandObj->AddStatus(commandPath, Status::InvalidCommand);
return true;
Expand Down

0 comments on commit b1d236e

Please sign in to comment.