Compare commits
1 Commits
ec338fb930
...
9df9475ea1
Author | SHA1 | Date | |
---|---|---|---|
9df9475ea1 |
@ -128,7 +128,7 @@ void handle_state_shutdown()
|
|||||||
|
|
||||||
void handle_state_guard()
|
void handle_state_guard()
|
||||||
{
|
{
|
||||||
if(guard_expire < tick) {
|
if(guard_expire) {
|
||||||
if(ignition_on()) {
|
if(ignition_on()) {
|
||||||
switch_power(on);
|
switch_power(on);
|
||||||
PORTB &= ~(1 << MOSI_PIN);
|
PORTB &= ~(1 << MOSI_PIN);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user