mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
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.
This commit is contained in:
parent
b03516dede
commit
527f7be65b
@ -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
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user