Removed unecessary lines

master
Alexander B 6 years ago
parent f951c39bbe
commit 5a2e585c59

@ -187,15 +187,13 @@ ISR(INT1_vect)
// Below ~400V, activate booster // Below ~400V, activate booster
boost_highVoltage_nextTick = TCNT1; // Run as soon as possible boost_highVoltage_nextTick = TCNT1; // Run as soon as possible
PORTB |= (1 << PORTB5); // Onboard-Led PORTB |= (1 << PORTB5); // Onboard-Led
PORTB |= (1 << PORTB5); // Onboard-Led
} }
else // Rising edge else // Rising edge
{ {
// Reached ~400V, deactivate booster // Reached ~400V, deactivate booster
boost_highVoltage_nextTick = 0; boost_highVoltage_nextTick = 0;
PORTB |= (0 << PORTB5); // Onboard-Led PORTB |= (0 << PORTB5); // Onboard-Led
// reset state // reset state
PORTD |= (0 << PORTD4); // pin on low PORTD |= (0 << PORTD4); // pin on low

Loading…
Cancel
Save