1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/bmx280
Hauke Petersen b7f33bd84f drivers/bmx280: significant driver rework
bugs fixed:
- move global variables into device descriptor
- guard bus access (use acquire and release)

added functionality:
- enable SPI mode

structural improvements:
- reduce stack usage
- simplify the driver's structure
- centralize bus access code
- use assertions
- cleanup includes
- use shortcuts for bus access

style changes:
- fix line length
- cleanup and improve doxygen
- unify pointer notation (char *var over char* var)
- unify (error) return messages
- use `#ifdef MODULE_BME280` instead of `#if defined(BME..)`
- unify debug messages -> using `[bmx28] x: msg` scheme
2019-11-22 14:04:37 +01:00
..
include drivers/bmx280: significant driver rework 2019-11-22 14:04:37 +01:00
bmx280_saul.c drivers/bmx280: significant driver rework 2019-11-22 14:04:37 +01:00
bmx280.c drivers/bmx280: significant driver rework 2019-11-22 14:04:37 +01:00
Makefile drivers/bmx280: factorize bme280 and bmp280 implementation 2017-06-02 14:54:17 +02:00