mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 13:44:11 -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
|
@ -20,6 +20,7 @@ static constexpr u32 GpioPadName_FanEnable = 0x4B;
|
|||
|
||||
void Boot::SetFanEnabled() {
|
||||
if (Boot::GetHardwareType() == HardwareType_Copper) {
|
||||
Boot::GpioConfigure(GpioPadName_FanEnable);
|
||||
Boot::GpioSetDirection(GpioPadName_FanEnable, GpioDirection_Output);
|
||||
Boot::GpioSetValue(GpioPadName_FanEnable, GpioValue_High);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue