diff --git a/src/avr_usart.c b/src/avr_usart.c index f248a86..1f24ea9 100644 --- a/src/avr_usart.c +++ b/src/avr_usart.c @@ -64,8 +64,8 @@ int main() { void init_usart0(void) { //setup stuff for usart communications. - UBRR0H |= (uint8_t) (BT_UBRR>>8); - UBRR0L |= (uint8_t) BT_UBRR; + UBRR0H |= (uint8_t) (F_UBRR>>8); + UBRR0L |= (uint8_t) F_UBRR; //Enable recv and Transmit pins, overrides other uses. //IN the usart control and status register 0B