BME680 driver trailing whitespaces removed

This commit is contained in:
Gunar Schorcht 2017-10-28 17:17:54 +02:00
parent 1af3f2e033
commit f431f831f6
8 changed files with 318 additions and 325 deletions

View file

@ -123,4 +123,3 @@ void user_init(void)
bme680_set_heater_profile (sensor, 4, 400, 180); bme680_set_heater_profile (sensor, 4, 400, 180);
} }
} }

View file

@ -128,4 +128,3 @@ void user_init(void)
bme680_set_ambient_temperature (sensor, 10); bme680_set_ambient_temperature (sensor, 10);
} }
} }

View file

@ -153,4 +153,3 @@ void user_init(void)
bme680_use_heater_profile (sensor2, 0); bme680_use_heater_profile (sensor2, 0);
} }
} }

View file

@ -234,8 +234,8 @@ else
switch (sensor->error_code & BME680_INT_ERROR_MASK) switch (sensor->error_code & BME680_INT_ERROR_MASK)
{ {
case BME680_I2C_BUSY: ... case BME680_INT_BUSY: ...
case BME680_I2C_READ_FAILED: ... case BME680_INT_READ_FAILED: ...
... ...
} }
switch (sensor->error_code & BME680_DRV_ERROR_MASK) switch (sensor->error_code & BME680_DRV_ERROR_MASK)
@ -332,7 +332,7 @@ Dependent on the hardware configuration, the communication interface settings ha
``` ```
### Main programm ### Main program
If I2C interfaces are used, they have to be initialized first. If I2C interfaces are used, they have to be initialized first.
@ -553,4 +553,3 @@ void user_init(void)
} }
} }
``` ```

View file

@ -1481,5 +1481,3 @@ static bool bme680_i2c_write(bme680_sensor_t* dev, uint8_t reg, uint8_t *data, u
return true; return true;
} }

View file

@ -130,7 +130,7 @@ typedef struct {
typedef struct { typedef struct {
uint16_t par_t1; // calibration data for temperature compensation uint16_t par_t1; // calibration data for temperature compensation
int16_t par_t2; uit16_t par_t2;
int8_t par_t3; int8_t par_t3;
uint16_t par_p1; // calibration data for pressure compensation uint16_t par_p1; // calibration data for pressure compensation
@ -190,4 +190,3 @@ typedef struct {
#endif /* End of CPP guard */ #endif /* End of CPP guard */
#endif /* __BME680_TYPES_H__ */ #endif /* __BME680_TYPES_H__ */