From: kittennbfive <58293822+kittennbfive@users.noreply.github.com> Date: Fri, 5 Feb 2021 19:23:28 +0000 (+0000) Subject: fix INT2 pin X-Git-Tag: v1.7~2^2~1 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=c848b26fdf43f0bccb25dc7617c487616dd03814;p=sx%2Fsimavr.git fix INT2 pin according to datasheet, tested with some code that works on real device (1284P) --- diff --git a/simavr/cores/sim_megax4.h b/simavr/cores/sim_megax4.h index 10384b7..22ac998 100644 --- a/simavr/cores/sim_megax4.h +++ b/simavr/cores/sim_megax4.h @@ -91,7 +91,7 @@ const struct mcu_t SIM_CORENAME = { .extint = { AVR_EXTINT_DECLARE(0, 'D', PD2), AVR_EXTINT_DECLARE(1, 'D', PD3), - AVR_EXTINT_DECLARE(2, 'B', PB3), + AVR_EXTINT_DECLARE(2, 'B', PB2), }, .porta = { .name = 'A', .r_port = PORTA, .r_ddr = DDRA, .r_pin = PINA,