diff --git a/drivers/rc/lirc_dev.c b/drivers/rc/lirc_dev.c index ff747fe835..cff75262c7 100644 --- a/drivers/rc/lirc_dev.c +++ b/drivers/rc/lirc_dev.c @@ -956,7 +956,8 @@ void lirc_raw_event(FAR struct lirc_lowerhalf_s *lower, } sample = ev.pulse ? LIRC_PULSE(ev.duration) : LIRC_SPACE(ev.duration); - rcinfo("delivering %uus %d to lirc\n", ev.duration, ev.pulse ? 1 : 0); + rcinfo("delivering %" PRIu32 "us %u to lirc\n", + ev.duration, ev.pulse ? 1 : 0); } flags = enter_critical_section();