잘못들어간 import 조정
This commit is contained in:
parent
0f53bcbe20
commit
b278e41b2e
|
@ -8,7 +8,6 @@ import (
|
||||||
"amuz.es/src/infra/cpu_ctrl/processor"
|
"amuz.es/src/infra/cpu_ctrl/processor"
|
||||||
"amuz.es/src/infra/cpu_ctrl/logger"
|
"amuz.es/src/infra/cpu_ctrl/logger"
|
||||||
"bytes"
|
"bytes"
|
||||||
"golang.org/x/tools/go/gcimporter15/testdata"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -66,7 +65,7 @@ func (c *fanControl) StartControl() {
|
||||||
if (!compareFanSpeed(fanSpeedList, newFanSpeedList)) {
|
if (!compareFanSpeed(fanSpeedList, newFanSpeedList)) {
|
||||||
fanSpeedList = newFanSpeedList
|
fanSpeedList = newFanSpeedList
|
||||||
args := make([]string, 0)
|
args := make([]string, 0)
|
||||||
args = append(args,"raw","0x3a", "0x01",)
|
args = append(args, "raw", "0x3a", "0x01", )
|
||||||
for _, item := range fanSpeedList {
|
for _, item := range fanSpeedList {
|
||||||
args = append(args, fmt.Sprintf("0x%x", item))
|
args = append(args, fmt.Sprintf("0x%x", item))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue