From 30084f3f281aa973feaa3ebe9f598ce876c18a5c Mon Sep 17 00:00:00 2001 From: nakulselfdiscovery Date: Mon, 12 Jan 2026 14:13:14 +0530 Subject: [PATCH] timer_model: fix compiler error in debug logs for clock drift Signed-off-by: nakulselfdiscovery --- native/src/timer_model.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/src/timer_model.c b/native/src/timer_model.c index ebe5498..0a74aa8 100644 --- a/native/src/timer_model.c +++ b/native/src/timer_model.c @@ -190,8 +190,8 @@ static void hwtimer_tick_timer_reached(void) us_time_to_str(es, expected_rt - boot_time); us_time_to_str(rs, real_time - boot_time); - printf("tick @%5llims: diff = expected_rt - real_time = " - "%5lli = %s - %s\n", + printf("tick @%5lims: diff = expected_rt - real_time = " + "%5li = %s - %s\n", hw_timer_tick_timer/1000U, diff, es, rs); #endif @@ -325,7 +325,7 @@ void hwtimer_adjust_rt_ratio(double ratio_correction) last_drift_offset += r_drift; us_time_to_str(ct, current_stime); - printf("%s(): @%s, s_diff= %llius after last adjust\n" + printf("%s(): @%s, s_diff= %lius after last adjust\n" " during which we drifted %.3fms\n" " total acc drift (last_drift_offset) = %.3fms\n" " last_radj_rtime = %.3fms (+%.3fms )\n"