drivers: bmi160: fix variable type mismatching issue
The variable type mismatching was caught by LLVM. Jira: ZEP-1179 Change-Id: I1193a946ea5814510e6c07668c5d05a5d91445a8 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
This commit is contained in:
parent
2e10266975
commit
d6ba1c0c3e
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ static inline void bmi160_acc_channel_get(struct device *dev,
|
|||
|
||||
static int bmi160_temp_channel_get(struct device *dev, struct sensor_value *val)
|
||||
{
|
||||
int16_t temp_raw = 0;
|
||||
uint16_t temp_raw = 0;
|
||||
int32_t temp_micro = 0;
|
||||
struct bmi160_device_data *bmi160 = dev->driver_data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue