X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fnews_usb%2Fconfig_pjrc.h;h=3cad3a1fcb4c13c4209cc6ce295e46fb1b6bad62;hb=1575db9166a21591bed95d4653db4d5d45e534be;hp=adce014c9e408ddc9b457feb3812541fdc2775b6;hpb=524c7d133c57fd744906a0269189fe4bc979e894;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