Skip to content

Commit

Permalink
add document
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Dec 11, 2024
1 parent 35d065b commit 70736bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ CHIP_ERROR Instance::Read(const ConcreteReadAttributePath & aPath, AttributeValu
case Attributes::PIROccupiedToUnoccupiedDelay::Id:
case Attributes::UltrasonicOccupiedToUnoccupiedDelay::Id:
case Attributes::PhysicalContactOccupiedToUnoccupiedDelay::Id: {

// HoldTime is equivalent to the legacy *OccupiedToUnoccupiedDelay attributes.
uint16_t * holdTime = GetHoldTimeForEndpoint(aPath.mEndpointId);

if (holdTime == nullptr)
Expand Down

0 comments on commit 70736bf

Please sign in to comment.