Improve readability master
authorNathael Pajani <nathael.pajani@ed3l.fr>
Mon, 29 Jan 2024 22:32:56 +0000 (23:32 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Mon, 29 Jan 2024 22:32:56 +0000 (23:32 +0100)
extdrv/bme280_humidity_sensor.c

index 18c852f..3d3cc56 100644 (file)
@@ -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) {