Skip to content

Commit

Permalink
oops, backward
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed May 23, 2019
1 parent 6255097 commit 58ec63b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,9 @@ int main() {
// save power if the car isn't on
if (safety_ignition_hook() == -1) {
if (is_gpio_started() == 1) {
power_save_enable();
} else {
power_save_disable();
} else {
power_save_enable();
}
} else {
power_save_disable();
Expand Down

0 comments on commit 58ec63b

Please sign in to comment.