From: Michel Pollet Date: Thu, 9 Apr 2015 20:29:19 +0000 (+0100) Subject: lin: Don't reset regs at init time X-Git-Tag: v1.3~50 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=74a05db0b65e1f2e583b8f015814976572f332a5;p=sx%2Fsimavr.git lin: Don't reset regs at init time the reset handler does it Signed-off-by: Michel Pollet --- diff --git a/simavr/sim/avr_lin.c b/simavr/sim/avr_lin.c index 1be7141..1d397d5 100644 --- a/simavr/sim/avr_lin.c +++ b/simavr/sim/avr_lin.c @@ -98,5 +98,4 @@ avr_lin_init( p->io = _io; avr_register_io_write(avr, p->r_linbtr, avr_lin_baud_write, p); avr_register_io_write(avr, p->r_linbrrl, avr_lin_baud_write, p); - avr->data[p->r_linbtr] = 0x20; }