From: Nathael Pajani Date: Thu, 3 Jan 2019 16:50:50 +0000 (+0100) Subject: Fix interverted parameter names X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=c131630bdc32783dc6f8a507ef2315dcc9ee2b31;p=soft%2Flpc122x%2Fcore Fix interverted parameter names --- diff --git a/include/extdrv/bme280_humidity_sensor.h b/include/extdrv/bme280_humidity_sensor.h index c8f3e40..23d9cf0 100644 --- a/include/extdrv/bme280_humidity_sensor.h +++ b/include/extdrv/bme280_humidity_sensor.h @@ -182,7 +182,7 @@ int bme280_configure(struct bme280_sensor_config* conf); * provided integer(s). On error, returns a negative integer equivalent to errors from * glibc. */ -int bme280_sensor_read(struct bme280_sensor_config* conf, uint32_t* temp, uint32_t* pressure, uint16_t* hum); +int bme280_sensor_read(struct bme280_sensor_config* conf, uint32_t* pressure, int32_t* temp, uint16_t* hum); /* Compute actual temperature from uncompensated temperature