From: Jakob Gruber Date: Sat, 4 Aug 2012 13:35:24 +0000 (+0200) Subject: mega1280: Initialize UART 2 and 3 X-Git-Tag: v1.0~34 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=e3c839efbb03c9bc498a5c187aec03e0c2ff7e04;p=sx%2Fsimavr.git mega1280: Initialize UART 2 and 3 These definitions already existed but were not initialized. --- 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);