Revert "drivers/sensor: Convert formatter strings to use PRI defines"
This reverts commit e60af3be66
.
We revert this as we intent to move away from {u}int{8,16,32,64}_t types
to our own internal types for sized variables so we shouldn't need the
PRI macros anymore.
Change-Id: I4a57eb2c23cb1b137112224f604602d40c7cce4f
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
306e15e0a1
commit
8814f4f7b4
13 changed files with 22 additions and 23 deletions
|
@ -276,10 +276,10 @@ static int lsm9ds0_gyro_init_chip(struct device *dev)
|
|||
goto err_poweroff;
|
||||
}
|
||||
if (chip_id != LSM9DS0_GYRO_VAL_WHO_AM_I_G) {
|
||||
SYS_LOG_DBG("invalid chip id 0x%" PRIx8, chip_id);
|
||||
SYS_LOG_DBG("invalid chip id 0x%x", chip_id);
|
||||
goto err_poweroff;
|
||||
}
|
||||
SYS_LOG_DBG("chip id 0x%" PRIx8, chip_id);
|
||||
SYS_LOG_DBG("chip id 0x%x", chip_id);
|
||||
|
||||
if (lsm9ds0_gyro_set_fs_raw(dev, LSM9DS0_GYRO_DEFAULT_FULLSCALE) < 0) {
|
||||
SYS_LOG_DBG("failed to set full-scale");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue