mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #14384 from basilfx/feature/silabs_cleanup
boards/sltb001a+slstk3402a: minor updates to headers
This commit is contained in:
commit
ef4835a092
@ -93,9 +93,6 @@ extern "C" {
|
||||
* Connection to the on-board temperature/humidity sensor (Si7021).
|
||||
* @{
|
||||
*/
|
||||
#ifndef SI7021_ENABLED
|
||||
#define SI7021_ENABLED (1)
|
||||
#endif
|
||||
#define SI7021_I2C I2C_DEV(0)
|
||||
#define SI7021_EN_PIN GPIO_PIN(PB, 10)
|
||||
|
||||
|
@ -47,7 +47,7 @@ void board_init(void)
|
||||
pic_write(ICM20648_PIC_ADDR, 1 << ICM20648_PIC_EN_BIT);
|
||||
#endif
|
||||
|
||||
#if defined(MODULE_BMP280) || defined(MODULE_SI7021) || SI1133_ENABLED || SI7210A_ENABLED
|
||||
#if defined(MODULE_BMP280) || defined(MODULE_SI7021) || SI1133_ENABLED || SI7210_ENABLED
|
||||
/* enable the environmental sensors */
|
||||
pic_write(ENV_SENSE_PIC_ADDR, 1 << ENV_SENSE_PIC_BIT);
|
||||
#endif
|
||||
|
@ -70,7 +70,7 @@ extern "C" {
|
||||
/**
|
||||
* @name Environmental sensors configuration
|
||||
*
|
||||
* Pin for enabling environmental sensors (BMP280, Si1133, Si7021, Si7210A).
|
||||
* Pin for enabling environmental sensors (BMP280, Si1133, Si7021, Si7210).
|
||||
* @{
|
||||
*/
|
||||
#define ENV_SENSE_PIC_ADDR (0x01)
|
||||
@ -180,14 +180,14 @@ extern "C" {
|
||||
/**
|
||||
* @name Hall-effect sensor configuration
|
||||
*
|
||||
* Connection to the on-board hall-effect sensor (Si7210A). Available on Rev. A02
|
||||
* boards only.
|
||||
* Connection to the on-board hall-effect sensor (Si7210). Available on
|
||||
* Rev. A02 boards only.
|
||||
* @{
|
||||
*/
|
||||
#ifndef SI7210A_ENABLED
|
||||
#define SI7210A_ENABLED (0)
|
||||
#ifndef SI7210_ENABLED
|
||||
#define SI7210_ENABLED (0)
|
||||
#endif
|
||||
#define SI7210A_I2C I2C_DEV(0)
|
||||
#define SI7210_I2C I2C_DEV(0)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user