오타 수정 2
This commit is contained in:
parent
a3f4f54439
commit
dd7abd9b54
4
main.go
4
main.go
|
@ -152,9 +152,9 @@ func CpuTempetureScraper(processorCount int, notifier <-chan TempetureChange, er
|
|||
select {
|
||||
case change := <-notifier:
|
||||
controller := controllers[change.Id]
|
||||
resp := controller.Update(change)
|
||||
resp := controller.Update(change.Tempeture)
|
||||
|
||||
adj_noob := -resp + minNoob
|
||||
adj_noob := -int(resp) + minNoob
|
||||
if adj_noob > maxNoob {
|
||||
adj_noob = maxNoob
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue