diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-11-18 03:18:18 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-18 03:18:18 +0100 |
commit | c44897fda572cf8837b4535a6d1aaad4605c14af (patch) | |
tree | c3c98c36589253da3a1a6308ec2804b5eb4a4d75 /fw/fe310/eos/i2c/bq25895.c | |
parent | b0e84c72d7a533f62ca750a73445da7fcebe8d18 (diff) |
eve sleep improved
Diffstat (limited to 'fw/fe310/eos/i2c/bq25895.c')
-rw-r--r-- | fw/fe310/eos/i2c/bq25895.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/i2c/bq25895.c b/fw/fe310/eos/i2c/bq25895.c index 2b45f88..85b162b 100644 --- a/fw/fe310/eos/i2c/bq25895.c +++ b/fw/fe310/eos/i2c/bq25895.c @@ -22,7 +22,7 @@ void eos_bq25895_init(uint8_t wakeup_cause) { if (ret) printf("I2C ERROR 0x07\n"); ret = eos_i2c_write8(BQ25895_ADDR, 0x00, 0x28); // 2.1A input current if (ret) printf("I2C ERROR 0x00\n"); - ret = eos_i2c_write8(BQ25895_ADDR, 0x02, 0x20); // disaable MaxCharge, ICO and + ret = eos_i2c_write8(BQ25895_ADDR, 0x02, 0x30); // enable ICO, disaable MaxCharge and D+/D- if (ret) printf("I2C ERROR 0x02\n"); } |