Commit 8ce1b2d508169579cb479d5a095e48ba8a7c64f1
authorMichel Pollet <buserror@gmail.com>
Tue, 7 Mar 2017 18:33:27 +0000 (18:33 +0000)
committerMichel Pollet <buserror@gmail.com>
Tue, 7 Mar 2017 18:33:27 +0000 (18:33 +0000)
This was missing from the header.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr/avr_mcu_section.h

index fd4edc1d479ff6c279197863e3575e64e489b324..ebeceb0a3d4da7df9d33f0a645ebbd02a16d00bf 100644 (file)
@@ -229,9 +229,11 @@ struct avr_mmcu_vcd_trace_t {
 #define AVR_MCU_VCD_IRQ(_irq_name) \
        AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 1, #_irq_name)
 #define AVR_MCU_VCD_IRQ_PENDING(_irq_name) \
-       AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name " pend")
+       AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name "_pend")
 #define AVR_MCU_VCD_ALL_IRQ() \
        AVR_MCU_VCD_IRQ_TRACE(0xff, 1, "IRQ")
+#define AVR_MCU_VCD_ALL_IRQ_PENDING() \
+       AVR_MCU_VCD_IRQ_TRACE(0xff, 0, "IRQ_PENDING")
 
 /*!
  * This tag allows you to specify the voltages used by your board