Skip to content

Commit

Permalink
#4911 - Small bug for warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jun 12, 2023
1 parent 872300d commit 8fff062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/ShadingControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ namespace model {

void ShadingControl_Impl::resetSetpoint2() {
std::string shadingControlType = this->shadingControlType();
if (ShadingControl_Impl::isControlTypeValueNeedingSetpoint1(shadingControlType)) {
if (ShadingControl_Impl::isControlTypeValueNeedingSetpoint2(shadingControlType)) {
LOG(Warn,
briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does require a Setpoint2, not resetting it");
} else {
Expand Down

0 comments on commit 8fff062

Please sign in to comment.