drivers/wireless/lpwan/sx127x/sx127x.c: Fix syslog formats
This commit is contained in:
parent
b299fdf1e3
commit
5706e3851d
@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@ -3833,7 +3834,7 @@ static int sx127x_frequency_set(FAR struct sx127x_dev_s *dev, uint32_t freq)
|
||||
uint32_t frf = 0;
|
||||
int ret = OK;
|
||||
|
||||
wlinfo("frequency %d->%d\n", dev->freq, freq);
|
||||
wlinfo("frequency %" PRId32 "->%" PRId32 "\n", dev->freq, freq);
|
||||
|
||||
if (freq == dev->freq)
|
||||
{
|
||||
@ -4105,7 +4106,7 @@ static int sx127x_calibration(FAR struct sx127x_dev_s *dev, uint32_t freq)
|
||||
* 434 MHz.
|
||||
*/
|
||||
|
||||
wlinfo("SX127X calibration for %d\n", freq);
|
||||
wlinfo("SX127X calibration for %" PRId32 "\n", freq);
|
||||
|
||||
/* Calibration is supported only in FSK/OOK mode */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user