We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66f081 commit d8b3775Copy full SHA for d8b3775
drivers/sensor/renesas/hs400x/hs400x.c
@@ -147,13 +147,13 @@ static void hs400x_all_measurements_stop(const struct device *dev)
147
* Stop previous periodic measurement.
148
* If a periodic measurement is not running, HS400x device replies with NACK.
149
*/
150
- i2c_write_dt(&cfg->bus, &periodic_measurement_stop, 1);
+ (void)i2c_write_dt(&cfg->bus, &periodic_measurement_stop, 1);
151
152
/*
153
* Clear previous no-hold measurement.
154
* If a measurement is not complete, HS400x device replies with NACK.
155
156
- i2c_read_dt(&cfg->bus, dummy, 2);
+ (void)i2c_read_dt(&cfg->bus, dummy, 2);
157
}
158
159
static int hs400x_init(const struct device *dev)
0 commit comments