nuttx/drivers/rc
Jiuzhu Dong 742ca6e319 drivers/rc: fix compile warning
In file included from /home/archer/code/nuttx/n4/incubator-nuttx/drivers/rc/lirc_dev.c:29:
drivers/rc/lirc_dev.c: In function 'lirc_raw_event':
drivers/rc/lirc_dev.c:959:14: warning: format '%u' expects argument of type 'unsigned int',
                              but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  959 |       rcinfo("delivering %uus %d to lirc\n", ev.duration, ev.pulse ? 1 : 0);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~
      |                                                |
      |                                                uint32_t {aka long unsigned int}
drivers/rc/lirc_dev.c:959:27: note: format string is defined here
  959 |       rcinfo("delivering %uus %d to lirc\n", ev.duration, ev.pulse ? 1 : 0);
      |                          ~^
      |                           |
      |                           unsigned int
      |                          %lu

Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-03 23:42:22 +08:00
..
dummy.c c89: get rid of designated initializers in common code 2022-03-28 13:39:27 +08:00
Kconfig driver/sensor rc: use mm/circbuf manage intermediate buffer 2020-11-20 05:33:03 -08:00
lirc_dev.c drivers/rc: fix compile warning 2022-08-03 23:42:22 +08:00
Make.defs