Compare commits

..

No commits in common. 'ce56b1b4099e7e7340e24e2094facb5ecc5cb190' and '0fd8a988ddd6d60e82442335c3f4ca2e6e3f632a' have entirely different histories.

@ -286,7 +286,7 @@ int main(void)
in5state = 0; in5state = 0;
} }
if (hbw_timer - logtimer0 < 100) { if (logtimer0 && (hbw_timer - logtimer0 < 100)) {
state = 0; state = 0;
if (bit_is_clear(PINB, RedLED)) if (bit_is_clear(PINB, RedLED))
state = 200; state = 200;
@ -296,7 +296,7 @@ int main(void)
logtimer0 = 0; logtimer0 = 0;
} }
if (hbw_timer - logtimer1 < 100) { if (logtimer1 && (hbw_timer - logtimer1 < 100)) {
state = 0; state = 0;
if (bit_is_clear(PINB, GreenLED)) if (bit_is_clear(PINB, GreenLED))
state = 200; state = 200;

Loading…
Cancel
Save