drivers/leds/userled_lower.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 19:57:58 +09:00 committed by Xiang Xiao
parent 41db756d78
commit d05299f37d

View file

@ -42,6 +42,7 @@
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <inttypes.h>
#include <nuttx/board.h>
#include <nuttx/leds/userled.h>
@ -89,7 +90,7 @@ static const struct userled_lowerhalf_s g_userled_lower =
static userled_set_t
userled_supported(FAR const struct userled_lowerhalf_s *lower)
{
ledinfo("BOARD_NLEDS: %02x\n", g_lednum);
ledinfo("BOARD_NLEDS: %02" PRIx32 "\n", g_lednum);
return (userled_set_t)((1 << g_lednum) - 1);
}