projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ioport: Tweak IRQ names
[simavr]
/
simavr
/
sim
/
sim_io.c
diff --git
a/simavr/sim/sim_io.c
b/simavr/sim/sim_io.c
index
e2f4f62
..
0f88b9a
100644
(file)
--- a/
simavr/sim/sim_io.c
+++ b/
simavr/sim/sim_io.c
@@
-196,6
+196,8
@@
avr_io_setirqs(
char * dst = buf;
// copy the 'flags' of the name out
const char * kind = io->irq_names[i];
+ while (isdigit(*kind))
+ *dst++ = *kind++;
while (!isalpha(*kind))
*dst++ = *kind++;
// add avr name