projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
ee9cd0f
)
Commit
29218dcf897373eac0eb750b4e4a3e066e057840
author
Michel Pollet
<buserror@gmail.com>
Sun, 2 Jun 2013 17:27:51 +0000
(18:27 +0100)
committer
Michel Pollet
<buserror@gmail.com>
Sun, 2 Jun 2013 17:27:51 +0000
(18:27 +0100)
Names are not getting important, for the scripting project
Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_irq.c
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_irq.c
b/simavr/sim/sim_irq.c
index 2b346c747d2f116a858431f35d4dd5aee7cc9d97..16e3418d2c795421b837b8ea27bb0e3c9974a4f5 100644
(file)
--- a/
simavr/sim/sim_irq.c
+++ b/
simavr/sim/sim_irq.c
@@
-76,6
+76,9
@@
avr_init_irq(
_avr_irq_pool_add(pool, &irq[i]);
if (names && names[i])
irq[i].name = strdup(names[i]);
+ else {
+ printf("WARNING %s() with NULL name for irq %d.\n", __func__, irq[i].irq);
+ }
}
}