Update bmp280.h

This commit is contained in:
Zaltora 2016-09-07 13:43:17 +02:00 committed by GitHub
parent c8a590f878
commit 5b40061bf9

View file

@ -65,6 +65,7 @@ typedef enum {
* Pressure oversampling settings
*/
typedef enum {
BMP280_SKIPPED = 0, /* disable */
BMP280_ULTRA_LOW_POWER = 1, /* oversampling x1 */
BMP280_LOW_POWER = 2, /* oversampling x2 */
BMP280_STANDARD = 3, /* oversampling x4 */
@ -94,6 +95,7 @@ typedef struct {
BMP280_Mode mode;
BMP280_Filter filter;
BMP280_Oversampling oversampling; // pressure oversampling
BMP280_Oversampling oversampling_temperature; // temperature oversampling
BMP280_Oversampling oversampling_humidity;
BMP280_StandbyTime standby;
} bmp280_params_t;