Skip to content

Commit

Permalink
Do not set old_value
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Feb 29, 2024
1 parent b1dee0d commit b06a96c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bin/calaos_server/IO/Mqtt/MqttOutputLightDimmer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ void MqttOutputLightDimmer::readValue()

if (!err)
{
old_value = value;
value = newValue;
cmd_state = "set " + Utils::to_string(value);

Expand Down

0 comments on commit b06a96c

Please sign in to comment.