drivers/l3g4200d : Make ADR configurable

Make L3G4200D_PARAM_ADDR configurable
This commit is contained in:
Akshai M 2020-04-30 23:27:51 +05:30
parent ebbfcfb56b
commit 5782c3bb0d

View File

@ -35,7 +35,7 @@ extern "C" {
#define L3G4200D_PARAM_I2C I2C_DEV(0) #define L3G4200D_PARAM_I2C I2C_DEV(0)
#endif #endif
#ifndef L3G4200D_PARAM_ADDR #ifndef L3G4200D_PARAM_ADDR
#define L3G4200D_PARAM_ADDR (0x68) #define L3G4200D_PARAM_ADDR (CONFIG_L3G4200D_DEFAULT_ADDRESS)
#endif #endif
#ifndef L3G4200D_PARAM_INT1 #ifndef L3G4200D_PARAM_INT1
#define L3G4200D_PARAM_INT1 (GPIO_PIN(0, 0)) #define L3G4200D_PARAM_INT1 (GPIO_PIN(0, 0))