diff options
Diffstat (limited to 'driver/bc12/pi3usb9201.h')
-rw-r--r-- | driver/bc12/pi3usb9201.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/driver/bc12/pi3usb9201.h b/driver/bc12/pi3usb9201.h index ba379ffff3..3a94fdf5ad 100644 --- a/driver/bc12/pi3usb9201.h +++ b/driver/bc12/pi3usb9201.h @@ -6,10 +6,10 @@ /* PI3USB9201 USB BC 1.2 Charger Detector driver definitions */ /* I2C address */ -#define PI3USB9201_I2C_ADDR_0__7bf 0x5C -#define PI3USB9201_I2C_ADDR_1__7bf 0x5D -#define PI3USB9201_I2C_ADDR_2__7bf 0x5E -#define PI3USB9201_I2C_ADDR_3__7bf 0x5F +#define PI3USB9201_I2C_ADDR_0_FLAGS 0x5C +#define PI3USB9201_I2C_ADDR_1_FLAGS 0x5D +#define PI3USB9201_I2C_ADDR_2_FLAGS 0x5E +#define PI3USB9201_I2C_ADDR_3_FLAGS 0x5F #define PI3USB9201_REG_CTRL_1 0x0 #define PI3USB9201_REG_CTRL_2 0x1 @@ -33,7 +33,7 @@ struct pi3usb2901_config_t { const int i2c_port; - const int i2c_addr__7bf; + const int i2c_addr_flags; }; enum pi3usb9201_mode { |