0cff42fe9d
Refactors the apds9960 sensor driver to get the i2c device name, i2c device address, gpio device name, and gpio pin from a constant device configuration structure, rather than using hardcoded macros. This will make it easier to change the names of the macros and to instantiate multiple instances of the driver. Signed-off-by: Maureen Helm <maureen.helm@nxp.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
apds9960.c | ||
apds9960.h | ||
apds9960_trigger.c |