ioport: Tweak IRQ names
[simavr] / simavr / sim / sim_io.c
index e2f4f62..0f88b9a 100644 (file)
@@ -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