#define BIT_RXEN1 RXEN1
#define BIT_TXEN1 TXEN1
#define BIT_UDRIE1 UDRIE1
-#elif CPU_AVR_ATMEGA328P
+#elif CPU_AVR_ATMEGA168 || CPU_AVR_ATMEGA328P
#define BIT_RXCIE0 RXCIE0
#define BIT_RXEN0 RXEN0
#define BIT_TXEN0 TXEN0
/* USART register definitions */
#if CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
#define AVR_HAS_UART1 1
-#elif CPU_AVR_ATMEGA328P
+#elif CPU_AVR_ATMEGA168 || CPU_AVR_ATMEGA328P
#define AVR_HAS_UART1 0
#define USART0_UDRE_vect USART_UDRE_vect
#define USART0_RX_vect USART_RX_vect
* $WIZ$ module_depends = "kfile", "timer"
* $WIZ$ module_configuration = "bertos/cfg/cfg_ser.h"
* $WIZ$ module_hw = "bertos/hw/hw_ser.h"
- * $WIZ$ module_supports = "not atmega103 and not atmega168 "
+ * $WIZ$ module_supports = "not atmega103"
* $WIZ$ module_supports += "and not atmega32 and not atmega8"
*/