mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
drivers/rc/dummy.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
3ebcd045b5
commit
c1f8e270eb
+3
-1
@@ -29,6 +29,7 @@
|
|||||||
#include <nuttx/wqueue.h>
|
#include <nuttx/wqueue.h>
|
||||||
#include <nuttx/clock.h>
|
#include <nuttx/clock.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@@ -184,7 +185,8 @@ static int dummy_tx_ir(FAR struct lirc_lowerhalf_s *lower,
|
|||||||
static int dummy_tx_scancode(FAR struct lirc_lowerhalf_s *lower,
|
static int dummy_tx_scancode(FAR struct lirc_lowerhalf_s *lower,
|
||||||
FAR struct lirc_scancode *txbuf)
|
FAR struct lirc_scancode *txbuf)
|
||||||
{
|
{
|
||||||
rcinfo("Dummy RC send scancode data:%u to device\n", txbuf->scancode);
|
rcinfo("Dummy RC send scancode data:%" PRIu64 " to device\n",
|
||||||
|
txbuf->scancode);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user