drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-02 06:39:59 +09:00 committed by Xiang Xiao
parent fc05f89c78
commit e5b63cddce

View File

@ -41,6 +41,7 @@
#include <nuttx/config.h>
#include <inttypes.h>
#include <string.h>
#include <assert.h>
#include <debug.h>
@ -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)
{