X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fnews_usb%2Fconfig_pjrc.h;h=3cad3a1fcb4c13c4209cc6ce295e46fb1b6bad62;hb=45e45691e0c03f1b5ea4341c6d90f9a09016a37d;hp=adce014c9e408ddc9b457feb3812541fdc2775b6;hpb=f1f2066657f4a0998adc016c95d7e541b436e09f;p=max%2Ftmk_keyboard.git diff --git a/converter/news_usb/config_pjrc.h b/converter/news_usb/config_pjrc.h index adce014c..3cad3a1f 100644 --- a/converter/news_usb/config_pjrc.h +++ b/converter/news_usb/config_pjrc.h @@ -45,7 +45,7 @@ along with this program. If not, see . /* Asynchronous USART * 8-data bit, non parity, 1-stop bit, no flow control */ -#ifdef __AVR_ATmega32U4__ +#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__) # define NEWS_KBD_RX_VECT USART1_RX_vect # define NEWS_KBD_RX_DATA UDR1 # define NEWS_KBD_RX_BAUD 9600