drivers/isl29020 : Make ADDR configurable
Make ISL29020_PARAM_ADDR configurable
This commit is contained in:
parent
38687e63bb
commit
f01bbd3c58
@ -35,7 +35,7 @@ extern "C" {
|
|||||||
#define ISL29020_PARAM_I2C I2C_DEV(0)
|
#define ISL29020_PARAM_I2C I2C_DEV(0)
|
||||||
#endif
|
#endif
|
||||||
#ifndef ISL29020_PARAM_ADDR
|
#ifndef ISL29020_PARAM_ADDR
|
||||||
#define ISL29020_PARAM_ADDR (0x44)
|
#define ISL29020_PARAM_ADDR (CONFIG_ISL29020_DEFAULT_ADDRESS)
|
||||||
#endif
|
#endif
|
||||||
#ifndef ISL29020_PARAM_RANGE
|
#ifndef ISL29020_PARAM_RANGE
|
||||||
#define ISL29020_PARAM_RANGE (ISL29020_RANGE_16K)
|
#define ISL29020_PARAM_RANGE (ISL29020_RANGE_16K)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user