From: Jakob Gruber Date: Thu, 2 Aug 2012 09:08:34 +0000 (+0200) Subject: interrupts: Convert logging to AVR_LOG() X-Git-Tag: v1.0~16 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=54c68474e17e329deb2d729cc14ecd27e1773d1b;p=sx%2Fsimavr.git interrupts: Convert logging to AVR_LOG() --- diff --git a/simavr/sim/sim_interrupts.c b/simavr/sim/sim_interrupts.c index f76375e..a2f3758 100644 --- a/simavr/sim/sim_interrupts.c +++ b/simavr/sim/sim_interrupts.c @@ -56,7 +56,7 @@ avr_register_vector( printf("%s register vector %d (enabled %04x:%d)\n", __FUNCTION__, vector->vector, vector->enable.reg, vector->enable.bit); if (!vector->enable.reg) - printf("avr_register_vector: No 'enable' bit on vector %d !\n", vector->vector); + AVR_LOG(avr, LOG_WARNING, "INT: avr_register_vector: No 'enable' bit on vector %d !\n", vector->vector); } int