Skip to content

Commit

Permalink
drivers/isl29020 : Make ADDR configurable
Browse files Browse the repository at this point in the history
Make ISL29020_PARAM_ADDR configurable
  • Loading branch information
akshaim committed May 8, 2020
1 parent 38687e6 commit f01bbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isl29020/include/isl29020_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {
#define ISL29020_PARAM_I2C I2C_DEV(0)
#endif
#ifndef ISL29020_PARAM_ADDR
#define ISL29020_PARAM_ADDR (0x44)
#define ISL29020_PARAM_ADDR (CONFIG_ISL29020_DEFAULT_ADDRESS)
#endif
#ifndef ISL29020_PARAM_RANGE
#define ISL29020_PARAM_RANGE (ISL29020_RANGE_16K)
Expand Down

0 comments on commit f01bbd3

Please sign in to comment.