Battery Charger: Add BQ24250 driver

This commit is contained in:
Alan Carvalho de Assis
2015-09-20 09:47:00 -06:00
committed by Gregory Nutt
parent d4fc91d6f6
commit c52e3e017b
7 changed files with 1095 additions and 10 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ int battery_charger_register(FAR const char *devpath,
#if defined(CONFIG_I2C) && defined(CONFIG_I2C_BQ2425X)
struct i2c_dev_s; /* Forward reference */
FAR struct battery_charger_dev_s *bq2425x_initialize(FAR struct i2c_dev_s *i2c
FAR struct battery_charger_dev_s *bq2425x_initialize(FAR struct i2c_dev_s *i2c,
uint8_t addr,
uint32_t frequency);
#endif