1
0
Fork 0

오타 수정 2

This commit is contained in:
Sangbum Kim 2017-09-07 01:27:03 +09:00
parent a3f4f54439
commit dd7abd9b54
1 changed files with 2 additions and 2 deletions

View File

@ -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
}