From: Nathael Pajani Date: Mon, 29 Jan 2024 22:32:56 +0000 (+0100) Subject: Improve readability X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=05e2f22588f1f7d6c50de2950a057ebfb9ba9ea8;p=soft%2Flpc122x%2Fcore Improve readability --- diff --git a/extdrv/bme280_humidity_sensor.c b/extdrv/bme280_humidity_sensor.c index 18c852f..3d3cc56 100644 --- a/extdrv/bme280_humidity_sensor.c +++ b/extdrv/bme280_humidity_sensor.c @@ -139,10 +139,12 @@ int bme280_configure(struct bme280_sensor_config* conf) int ret = 0; char cmd_buf[CONF_BUF_SIZE] = { conf->addr, - BME280_REGS(ctrl_humidity), BME280_CTRL_HUM(conf->humidity_oversampling), + BME280_REGS(ctrl_humidity), + BME280_CTRL_HUM(conf->humidity_oversampling), BME280_REGS(ctrl_measure), - BME280_CTRL_MEA(conf->pressure_oversampling, conf->temp_oversampling, conf->mode), - BME280_REGS(config), BME280_CONFIG(conf->standby_len, conf->filter_coeff), + BME280_CTRL_MEA(conf->pressure_oversampling, conf->temp_oversampling, conf->mode), + BME280_REGS(config), + BME280_CONFIG(conf->standby_len, conf->filter_coeff), }; if (bme280_probe_sensor(conf) != 1) {