1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
01818ed4e8 drivers/bmx280: provide correct CALIB_T_P_LEN 2020-02-24 15:21:06 +01:00
8a909b1f9a drivers/bmx280: increase CALIB_T_P_LEN 2020-02-24 14:25:32 +01:00
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
Benjamin Valentin
9d6d93ef2f drivers: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Bas Stottelaar
268d7d17a8 drivers: bmx280: include board.h for board parameters. 2017-10-31 21:44:57 +01:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
d9ea159255 drivers: remove useless saul name suffix 2017-06-21 15:06:53 +02:00
4a852abd03 drivers/bmx280: factorize bme280 and bmp280 implementation 2017-06-02 14:54:17 +02:00