From a484094a573be799af56d7a139aac82ec5c081b9 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Thu, 2 Aug 2012 11:07:34 +0200 Subject: [PATCH] cycle_timers: Convert logging to AVR_LOG() --- simavr/sim/sim_cycle_timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/sim/sim_cycle_timers.c b/simavr/sim/sim_cycle_timers.c index f3cbdd3..170aeed 100644 --- a/simavr/sim/sim_cycle_timers.c +++ b/simavr/sim/sim_cycle_timers.c @@ -90,7 +90,7 @@ avr_cycle_timer_register( avr_cycle_timer_cancel(avr, timer, param); if (pool->count == MAX_CYCLE_TIMERS) { - fprintf(stderr, "%s: pool is full (%d)!\n", __func__, MAX_CYCLE_TIMERS); + AVR_LOG(avr, LOG_ERROR, "CYCLE: %s: pool is full (%d)!\n", __func__, MAX_CYCLE_TIMERS); return; } avr_cycle_timer_insert(avr, when, timer, param); -- 2.39.5