Skip to content

Commit

Permalink
Revert "Fix frc operator" (#9625)
Browse files Browse the repository at this point in the history
This reverts commit 6a58cd4.
  • Loading branch information
andig authored Sep 6, 2023
1 parent 6f71cc3 commit cec3de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/go-e.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit cec3de4

Please sign in to comment.