Revert "Fix frc operator" (#9625)

This reverts commit 6a58cd4a80cfbf6cfff0f05bd264e410336c7dae.
This commit is contained in:
andig 2023-09-06 21:02:02 +02:00 • committed by GitHub
parent 6f71cc3875
commit cec3de4770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@ func (c *GoE) Enable(enable bool) error {
param := map[bool]string{false: "alw", true: "frc"}[c.api.IsV2()]
if c.api.IsV2() {
b ^= 1
b += 1
}
return c.api.Update(fmt.Sprintf("%s=%d", param, b))