Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions drivers/sensor/nxp/fxls8974/fxls8974.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ static int fxls8974_channel_get(const struct device *dev,

val += FXLS8974_MAX_ACCEL_CHANNELS;

if (fxls8974_get_temp_data(dev, val)) {
return -EIO;
}
return fxls8974_get_temp_data(dev, val);

break;
case SENSOR_CHAN_ACCEL_XYZ:
return fxls8974_get_accel_data(dev, val, SENSOR_CHAN_ACCEL_XYZ);
Expand Down
6 changes: 1 addition & 5 deletions drivers/sensor/ti/ina219/ina219.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,7 @@ static int ina219_init(const struct device *dev)
}

/* Set measurement delay */
rc = ina219_set_msr_delay(dev);
if (rc) {
LOG_ERR("Could not get measurement delay.");
return rc;
}
ina219_set_msr_delay(dev);

k_sleep(K_USEC(INA219_WAIT_STARTUP));

Expand Down
Loading