From e5b63cddce04e51ffb468595acbc8bf0de98707b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 2 Dec 2020 06:39:59 +0900 Subject: [PATCH] drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format --- drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c b/drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c index e8e092e45c..59eb87dfc4 100644 --- a/drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c +++ b/drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c @@ -41,6 +41,7 @@ #include +#include #include #include #include @@ -369,7 +370,7 @@ int mrf24j40_settxpower(FAR struct mrf24j40_radio_s *dev, return -EINVAL; } - wlinfo("Remaining attenuation: %d mBm\n", txpwr); + wlinfo("Remaining attenuation: %" PRId32 " mBm\n", txpwr); switch (txpwr / 100) {