From 219d5d798744cfe480f092ddd3375efb319b3347 Mon Sep 17 00:00:00 2001 From: Sangbum Kim Date: Wed, 13 Sep 2017 00:56:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=98=EB=AA=BB=EB=90=9C=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=953?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumer/speed_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/consumer/speed_controller.go b/consumer/speed_controller.go index 6325092..a741fee 100644 --- a/consumer/speed_controller.go +++ b/consumer/speed_controller.go @@ -55,7 +55,6 @@ func (c *fanControl) StartControl() { case <-ticker: if !compareFanSpeed(pastFanSpeedList, newFanSpeedList) { copy(pastFanSpeedList, newFanSpeedList) - newFanSpeedList = make([]int, c.processorCount) go c.applyFanspeed(pastFanSpeedList) } case changedSpeed := <-c.fanSpeedConsumer: