public
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e03bc6
)
fix INT2 pin
author
kittennbfive
<58293822+kittennbfive@users.noreply.github.com>
Fri, 5 Feb 2021 19:23:28 +0000
(19:23 +0000)
committer
GitHub
<noreply@github.com>
Fri, 5 Feb 2021 19:23:28 +0000
(19:23 +0000)
according to datasheet, tested with some code that works on real device (1284P)
simavr/cores/sim_megax4.h
patch
|
blob
|
history
diff --git
a/simavr/cores/sim_megax4.h
b/simavr/cores/sim_megax4.h
index
10384b7
..
22ac998
100644
(file)
--- 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', PB
3
),
+ AVR_EXTINT_DECLARE(2, 'B', PB
2
),
},
.porta = {
.name = 'A', .r_port = PORTA, .r_ddr = DDRA, .r_pin = PINA,