From 54aa55a902621c1dec8a8ac89b49adf297aa9f7c Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Thu, 26 Oct 2017 17:17:57 +0200 Subject: [PATCH] Fix typos and non-portable idioms --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index a1f77b6..78deee6 100644 --- a/main.c +++ b/main.c @@ -88,9 +88,9 @@ ISR(USART_RX_vect) { int main() { DDRC &= ~(0b1111); // This sets PC0 to PC3 to input - PORTC |= 0b1111; // This makes dito pull-up per default + PORTC |= 0b1111; // This makes said pins pull-up per default - DDRB |= (1 << PB3) | (1 << PB4); // Keybad rows + DDRB |= (1 << PB3) | (1 << PB4); // Keypad rows DDRD |= 0b11111100; // PD2 to PD7 for relay DDRB |= 0b00000011; // PB0 and PB1 for relay