From 3433a32ccea5b5a26329bc31057c71ce5b2544fc Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Sun, 28 Jun 2020 22:57:29 +0200 Subject: [PATCH] boards/sltb001a: Si7201A does not exists Its just the Si7210: https://www.silabs.com/sensors/magnetic/si7210. --- boards/sltb001a/board.c | 2 +- boards/sltb001a/include/board.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/boards/sltb001a/board.c b/boards/sltb001a/board.c index 94ec47af4c..d2b33cd3cc 100644 --- a/boards/sltb001a/board.c +++ b/boards/sltb001a/board.c @@ -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 diff --git a/boards/sltb001a/include/board.h b/boards/sltb001a/include/board.h index 65d87f0457..3efdabccc8 100644 --- a/boards/sltb001a/include/board.h +++ b/boards/sltb001a/include/board.h @@ -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) /** @} */ /**