From e3c839efbb03c9bc498a5c187aec03e0c2ff7e04 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Sat, 4 Aug 2012 15:35:24 +0200 Subject: [PATCH] mega1280: Initialize UART 2 and 3 These definitions already existed but were not initialized. --- simavr/cores/sim_mega1280.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simavr/cores/sim_mega1280.c b/simavr/cores/sim_mega1280.c index a1e6c3b..4765cfd 100644 --- a/simavr/cores/sim_mega1280.c +++ b/simavr/cores/sim_mega1280.c @@ -797,6 +797,8 @@ void m1280_init(struct avr_t * avr) avr_uart_init(avr, &mcu->uart0); avr_uart_init(avr, &mcu->uart1); + avr_uart_init(avr, &mcu->uart2); + avr_uart_init(avr, &mcu->uart3); avr_adc_init(avr, &mcu->adc); avr_timer_init(avr, &mcu->timer0); avr_timer_init(avr, &mcu->timer1); -- 2.39.5