Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 22 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | conf->os_temp = BMP280_OS_1X; |
94 | conf->os_temp = BMP280_OS_1X; |
95 | 95 | ||
96 | /* Pressure over sampling 4x */ |
96 | /* Pressure over sampling 4x */ |
97 | conf->os_pres = BMP280_OS_4X; |
97 | conf->os_pres = BMP280_OS_4X; |
98 | 98 | ||
99 | /* Setting the output data rate as 8HZ(500ms) */ |
99 | /* Setting the output data rate as 8HZ(125ms) */ |
100 | conf->odr = BMP280_ODR_125_MS; |
100 | conf->odr = BMP280_ODR_125_MS; |
101 | rslt = bmp280_set_config(conf, bmp); |
101 | rslt = bmp280_set_config(conf, bmp); |
102 | if (rslt != BMP280_OK) |
102 | if (rslt != BMP280_OK) |
103 | return rslt; |
103 | return rslt; |
104 | 104 |