mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 01:03:43 -04:00
gpio: add (most of) driver framework for boot sysmodule usage
This commit is contained in:
parent
ddf2f5f3c5
commit
4b4f05b4a6
58 changed files with 3380 additions and 836 deletions
|
@ -60,7 +60,9 @@ namespace ams::boot {
|
|||
}
|
||||
|
||||
Result ChargerDriver::SetChargeEnabled(bool enabled) {
|
||||
boot::gpio::SetValue(GpioPadName_Bq24193Charger, enabled ? GpioValue_Low : GpioValue_High);
|
||||
/* TODO */
|
||||
AMS_ABORT();
|
||||
/* boot::gpio::SetValue(GpioPadName_Bq24193Charger, enabled ? GpioValue_Low : GpioValue_High); */
|
||||
return this->SetChargerConfiguration(bq24193::ChargerConfiguration_ChargeBattery);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue