mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
boot: fix a few issues in gpio/pinmux config
This commit is contained in:
parent
2c3111f9c9
commit
bfd4d41834
7 changed files with 51 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue