From 527f7be65b7c8b95679a6e8ecc533cb742228233 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Wed, 4 Jan 2023 21:47:41 +0100 Subject: [PATCH] boards/hamilton: Fix TMP00x parameters The TMP006 driver has been renamed to TMP00x, as it (now) supports both TMP006 and TMP007 infrared thermopile sensors. However, the board configuration was never updated to match the new names. This fixes the issue. --- boards/hamilton/include/board.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/hamilton/include/board.h b/boards/hamilton/include/board.h index d3f5aa0e93..90a980e3dc 100644 --- a/boards/hamilton/include/board.h +++ b/boards/hamilton/include/board.h @@ -110,14 +110,14 @@ extern "C" { /** @} */ /** - * @name TMP006 configuration - * Note that two other tmp006 operation options, TMP006_USE_LOW_POWER and - * TMP006_USE_RAW_VALUES, need to be set according to the application purpose + * @name TMP00X configuration + * Note that two other tmp006 operation options, TMP00X_USE_LOW_POWER and + * TMP00X_USE_RAW_VALUES, need to be set according to the application purpose * @{ */ -#define TMP006_PARAM_I2C I2C_DEV(0) -#define TMP006_PARAM_ADDR (0x44) -#define TMP006_PARAM_RATE TMP006_CONFIG_CR_AS2 +#define TMP00X_PARAM_I2C I2C_DEV(0) +#define TMP00X_PARAM_ADDR (0x44) +#define TMP00X_PARAM_RATE TMP00X_CONFIG_CR_AS2 /** @} */ /**