fix typos etc

This commit is contained in:
William Clark 2023-12-23 10:54:56 +00:00
parent 587b5b678e
commit 743e3adf17
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ int bme680_configure(bme680_t *bme680) {
meas = hum = filter = err = 0;
/* ctrl_meas. the last 0 is ticked on to enable forced mode,
* but the config has to be written fist. strange behaviour.
* but the config has to be written first. strange behaviour.
*/
meas = bme680->cfg.osrs_t << 5 | bme680->cfg.osrs_p << 2;
hum = bme680->cfg.osrs_h;

View File

@ -1,5 +1,5 @@
#ifndef BME680_H
#define BME680
#define BME680_H
#include <stdint.h>