boot: fix a few issues in gpio/pinmux config

This commit is contained in:
Michael Scire 2019-05-12 03:49:16 -07:00
parent 2c3111f9c9
commit bfd4d41834
7 changed files with 51 additions and 23 deletions

View file

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