mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 05:47:54 +00:00
drivers/sensors/max31855.c: Fix a syslog format
This commit is contained in:
parent
6a9a3d05d8
commit
53a3d652b5
1 changed files with 2 additions and 1 deletions
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include <fixedmath.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -228,7 +229,7 @@ static ssize_t max31855_read(FAR struct file *filep, FAR char *buffer,
|
|||
regval |= (regmsb & 0xff00) << 8;
|
||||
regval |= (regmsb & 0xff) << 24;
|
||||
|
||||
sninfo("Read from MAX31855 = 0x%08X\n", regval);
|
||||
sninfo("Read from MAX31855 = 0x%08" PRIX32 "\n", regval);
|
||||
|
||||
/* Feed sensor data to entropy pool */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue