boot: fix some silly mistakes

This commit is contained in:
Michael Scire 2019-05-07 01:18:54 -07:00
parent db47a0c041
commit b5e91ff9a4
4 changed files with 17 additions and 9 deletions

View file

@ -30,7 +30,7 @@ class ChargerDriver {
public:
ChargerDriver() {
I2cDriver::Initialize();
I2cDriver::OpenSession(&this->i2c_session, I2cDevice_Max17050);
I2cDriver::OpenSession(&this->i2c_session, I2cDevice_Bq24193);
Boot::GpioSetDirection(GpioPadName_Bq24193Charger, GpioDirection_Output);
}