goe: Fix frc operator (#5597)
This commit is contained in:
parent
c294bef4b7
commit
c5a0465b30
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,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