fix compilation on host
[beacon-rx-433.git] / main.c
diff --git a/main.c b/main.c
index 290a3e3..6797250 100644 (file)
--- a/main.c
+++ b/main.c
@@ -369,7 +369,6 @@ int main(void)
        /* led and buzzer are outputs */
 #if defined(__AVR_ATtiny45__)
        DDRB |= (1 << LED_BIT) | (1 << BUZ_BIT);
-#endif
 
        while (1) {
                PORTB |= (1 << LED_BIT);
@@ -377,6 +376,7 @@ int main(void)
                PORTB &= ~(1 << LED_BIT);
                wait_ms(500);
        }
+#endif
 
        i = 0;
        init_timer();