diff --git a/consumer/speed_controller.go b/consumer/speed_controller.go index a741fee..1500b3d 100644 --- a/consumer/speed_controller.go +++ b/consumer/speed_controller.go @@ -58,9 +58,7 @@ func (c *fanControl) StartControl() { go c.applyFanspeed(pastFanSpeedList) } case changedSpeed := <-c.fanSpeedConsumer: - if changedSpeed.Changed { - newFanSpeedList[changedSpeed.Id] = changedSpeed.FanSpeed - } + newFanSpeedList[changedSpeed.Id] = changedSpeed.FanSpeed case <-c.handler.Done(): return }