X-Git-Url: http://git.smho.de/gw/?p=owSlave2.git;a=blobdiff_plain;f=common%2FI2C%2FBMP280.h;fp=common%2FI2C%2FBMP280.h;h=8ea70591a4a34cd08bb61c421b68f5981c6a485d;hp=0fab3c52840bd1efeebce291418d8f80bfd5240a;hb=a6a04f58e4afd20f206fdf4a8a7b3ce4062f1b67;hpb=cd92472e6fd63693741f8e168123a4182802651b diff --git a/common/I2C/BMP280.h b/common/I2C/BMP280.h index 0fab3c5..8ea7059 100644 --- a/common/I2C/BMP280.h +++ b/common/I2C/BMP280.h @@ -1,13 +1,13 @@ -#ifndef BMP280_H -#define BMP280_H - - - -void bmp280Init(void); -int32_t bmp280ReadTemp(void); -int32_t bmp280ReadPressure(uint8_t oss); -void bmp280Convert(double * temperature, double * pressure,uint8_t oss); -void bmp280ConvertInt(int32_t * temperature,uint32_t *pressure,uint8_t oss); - - +#ifndef BMP280_H +#define BMP280_H + + + +void bmp280Init(void); +int32_t bmp280ReadTemp(void); +int32_t bmp280ReadPressure(uint8_t oss); +void bmp280Convert(double * temperature, double * pressure,uint8_t oss); +void bmp280ConvertInt(int32_t * temperature,uint32_t *pressure,uint8_t oss); + + #endif \ No newline at end of file