From 5a2e585c597ee7c8c813a2688e2290842effd8b0 Mon Sep 17 00:00:00 2001 From: Alexander B Date: Mon, 18 Mar 2019 22:47:07 +0100 Subject: [PATCH] Removed unecessary lines --- Geigerzaehler/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Geigerzaehler/main.c b/Geigerzaehler/main.c index 0d4a759..0d0e1ad 100644 --- a/Geigerzaehler/main.c +++ b/Geigerzaehler/main.c @@ -187,15 +187,13 @@ ISR(INT1_vect) // Below ~400V, activate booster boost_highVoltage_nextTick = TCNT1; // Run as soon as possible PORTB |= (1 << PORTB5); // Onboard-Led - - PORTB |= (1 << PORTB5); // Onboard-Led } else // Rising edge { // Reached ~400V, deactivate booster boost_highVoltage_nextTick = 0; - PORTB |= (0 << PORTB5); // Onboard-Led + PORTB |= (0 << PORTB5); // Onboard-Led // reset state PORTD |= (0 << PORTD4); // pin on low