Skip to content

Commit

Permalink
Update ValveControlDelegate.cpp (#35460)
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored and pull[bot] committed Sep 27, 2024
1 parent 117aadd commit 4221bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/all-clusters-app/linux/ValveControlDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DataModel::Nullable<chip::Percent> ValveControlDelegate::HandleOpenValve(DataMod
sLastOpenDuration = 0;
ChipLogProgress(NotSpecified, "Valve opening from level: %d to %d", currentLevel, sLevel);

// In this demo application, the trasition is considered instant,
// In this demo application, the transition is considered instant,
// so current level is set to the requested level and current state is set to kOpen.
currentLevel = sLevel;
Attributes::CurrentState::Set(kValveEndpoint, ValveConfigurationAndControl::ValveStateEnum::kOpen);
Expand Down

0 comments on commit 4221bce

Please sign in to comment.