Commit 0a6a6164d0f6f93dd9b6643b699c6def72214e6a
authorMichel Pollet <buserror@gmail.com>
Sun, 9 Feb 2014 23:08:58 +0000 (23:08 +0000)
committerMichel Pollet <buserror@gmail.com>
Sun, 9 Feb 2014 23:08:58 +0000 (23:08 +0000)
This was clashing with the command register

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

index b153bc3e6acd9f0224024ddd39a6e85aee75dc35..68558eb530549d8f4a6e3f8ec720facd81937e4e 100644 (file)
@@ -172,7 +172,7 @@ struct avr_mmcu_vcd_trace_t {
  * without using a UART to do debug.
  */
 #define AVR_MCU_SIMAVR_CONSOLE(_register) \
-       const struct avr_mmcu_addr_t _simavr_command_register _MMCU_ = {\
+       const struct avr_mmcu_addr_t _simavr_console_register _MMCU_ = {\
                .tag = AVR_MMCU_TAG_SIMAVR_CONSOLE,\
                .len = sizeof(void *),\
                .what = (void*)_register, \