drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format
This commit is contained in:
parent
fc05f89c78
commit
e5b63cddce
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue