[Dev Log] Knock : Part 4


So I've been working with AVR USART today and I talked to some of the guys on #avr on freenode. Turns out _BV() is not a good way to do things. It was a hack apparently that was used by people before GCC was fixed. I didn't get too much into what was fixed but good practices are good practices so I am going to start putting values into registers using bit shift. Example:

UCSRB |= (1 << UCSZ1) | (1 << UCSZ2);