mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 17:03:29 +00:00
drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format
This commit is contained in:
parent
fc05f89c78
commit
e5b63cddce
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue