mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
boot: fix more typos/copy paste errors
This commit is contained in:
parent
8306464758
commit
05a24b5726
5 changed files with 14 additions and 14 deletions
|
@ -66,4 +66,4 @@ static constexpr WakePinConfig WakePinConfigsCalcio[] = {
|
||||||
{0x3F, false, 0x02},
|
{0x3F, false, 0x02},
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr size_t WakePinConfigsCalcio = util::size(WakePinConfigsCalcio);
|
static constexpr size_t NumWakePinConfigsCalcio = util::size(WakePinConfigsCalcio);
|
||||||
|
|
|
@ -67,4 +67,4 @@ static constexpr WakePinConfig WakePinConfigsHoag[] = {
|
||||||
{0x3F, false, 0x02},
|
{0x3F, false, 0x02},
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr size_t WakePinConfigsHoag = util::size(WakePinConfigsHoag);
|
static constexpr size_t NumWakePinConfigsHoag = util::size(WakePinConfigsHoag);
|
||||||
|
|
|
@ -66,4 +66,4 @@ static constexpr WakePinConfig WakePinConfigsIowa[] = {
|
||||||
{0x3F, false, 0x02},
|
{0x3F, false, 0x02},
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr size_t WakePinConfigsIowa = util::size(WakePinConfigsIowa);
|
static constexpr size_t NumWakePinConfigsIowa = util::size(WakePinConfigsIowa);
|
||||||
|
|
|
@ -99,23 +99,23 @@ namespace ams::boot {
|
||||||
|
|
||||||
switch (spl::GetHardwareType()) {
|
switch (spl::GetHardwareType()) {
|
||||||
case spl::HardwareType::Icosa:
|
case spl::HardwareType::Icosa:
|
||||||
configs = WakePinsIcosa;
|
configs = WakePinConfigsIcosa;
|
||||||
num_configs = NumWakePinsIcosa;
|
num_configs = NumWakePinConfigsIcosa;
|
||||||
break;
|
break;
|
||||||
case spl::HardwareType::Copper:
|
case spl::HardwareType::Copper:
|
||||||
configs = WakePinsCopper;
|
configs = WakePinConfigsCopper;
|
||||||
num_configs = NumWakePinsCopper;
|
num_configs = NumWakePinConfigsCopper;
|
||||||
break;
|
break;
|
||||||
case spl::HardwareType::Hoag:
|
case spl::HardwareType::Hoag:
|
||||||
configs = WakePinsHoag;
|
configs = WakePinConfigsHoag;
|
||||||
num_configs = NumWakePinsHoag;
|
num_configs = NumWakePinConfigsHoag;
|
||||||
break;
|
break;
|
||||||
case spl::HardwareType::Iowa:
|
case spl::HardwareType::Iowa:
|
||||||
configs = WakePinsIowa;
|
configs = WakePinConfigsIowa;
|
||||||
num_configs = NumWakePinsIowa;
|
num_configs = NumWakePinConfigsIowa;
|
||||||
case spl::HardwareType::Calcio:
|
case spl::HardwareType::Calcio:
|
||||||
configs = WakePinsCalcio;
|
configs = WakePinConfigsCalcio;
|
||||||
num_configs = NumWakePinsCalcio;
|
num_configs = NumWakePinConfigsCalcio;
|
||||||
break;
|
break;
|
||||||
AMS_UNREACHABLE_DEFAULT_CASE();
|
AMS_UNREACHABLE_DEFAULT_CASE();
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,4 +48,4 @@ constexpr InitialConfig InitialConfigsCalcio[] = {
|
||||||
{0x4E, GpioDirection_Input, GpioValue_Low},
|
{0x4E, GpioDirection_Input, GpioValue_Low},
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr u32 NumInitialConfigsCopper = (sizeof(InitialConfigsCalcio) / sizeof(InitialConfigsCalcio[0]));
|
constexpr u32 NumInitialConfigsCalcio = util::size(InitialConfigsCalcio);
|
||||||
|
|
Loading…
Reference in a new issue