Revert "Fix frc operator" (#9625)
This reverts commit 6a58cd4a80cfbf6cfff0f05bd264e410336c7dae.
This commit is contained in:
parent
6f71cc3875
commit
cec3de4770
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue