수치 조정
This commit is contained in:
parent
8b47f83434
commit
e35a6df56d
4
main.go
4
main.go
|
@ -21,9 +21,9 @@ var (
|
|||
app = kingpin.New("cpu_ctrl", "Interactive CPU fan controller").Author("Sangbum Kim")
|
||||
verbose = app.Flag("verbose", "Enable verbose mode.").Short('v').Bool()
|
||||
P = app.Flag("proportional-gain", "Set proportional gain value.").Short('p').Default("1.0").Float64()
|
||||
I = app.Flag("integral-gain", "Set integral gain value.").Short('i').Default("0.6").Float64()
|
||||
I = app.Flag("integral-gain", "Set integral gain value.").Short('i').Default("0.4").Float64()
|
||||
D = app.Flag("derivative-gain", "Set derivative gain value.").Short('d').Default("2.0").Float64()
|
||||
SetPoint = app.Flag("set-point", "Set pointe tempeture").Short('t').Default("38.0").Float64()
|
||||
SetPoint = app.Flag("set-point", "Set pointe tempeture").Short('t').Default("40.0").Float64()
|
||||
|
||||
log = logger.NewLogger("cpu_ctrl")
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue