mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/l3g4200d : Make ADR configurable
Make L3G4200D_PARAM_ADDR configurable
This commit is contained in:
parent
ebbfcfb56b
commit
5782c3bb0d
@ -35,7 +35,7 @@ extern "C" {
|
||||
#define L3G4200D_PARAM_I2C I2C_DEV(0)
|
||||
#endif
|
||||
#ifndef L3G4200D_PARAM_ADDR
|
||||
#define L3G4200D_PARAM_ADDR (0x68)
|
||||
#define L3G4200D_PARAM_ADDR (CONFIG_L3G4200D_DEFAULT_ADDRESS)
|
||||
#endif
|
||||
#ifndef L3G4200D_PARAM_INT1
|
||||
#define L3G4200D_PARAM_INT1 (GPIO_PIN(0, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user