From c131630bdc32783dc6f8a507ef2315dcc9ee2b31 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 3 Jan 2019 17:50:50 +0100 Subject: [PATCH] Fix interverted parameter names --- include/extdrv/bme280_humidity_sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0