Skip to content

WIP: Fix/linear pwm adjustment #750

WIP: Fix/linear pwm adjustment

WIP: Fix/linear pwm adjustment #750

Triggered via pull request September 23, 2024 04:33
Status Failure
Total duration 29s
Artifacts

go.yml

on: pull_request
Generate cross-platform builds
18s
Generate cross-platform builds
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Generate cross-platform builds: cmd/fan/init.go#L34
cannot use *util.NewPidLoop(0.03, 0.002, 0.0005) (variable of type util.PidLoop) as control_loop.ControlLoop value in argument to controller.NewFanController: util.PidLoop does not implement control_loop.ControlLoop (method Loop has pointer receiver) (typecheck)
Generate cross-platform builds: cmd/root.go#L11
could not import github.com/markusressel/fan2go/cmd/fan (-: # github.com/markusressel/fan2go/cmd/fan
Generate cross-platform builds: cmd/fan/init.go#L34
cannot use *util.NewPidLoop(0.03, 0.002, 0.0005) (variable of type util.PidLoop) as control_loop.ControlLoop value in argument to controller.NewFanController: util.PidLoop does not implement control_loop.ControlLoop (method Loop has pointer receiver)) (typecheck)
Generate cross-platform builds: internal/util/pid.go#L16
field `error` is unused (unused)
Generate cross-platform builds: internal/util/pid.go#L18
field `integral` is unused (unused)
Generate cross-platform builds: internal/configuration/config.go#L148
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
Generate cross-platform builds
issues found