1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

boot: fix more typos/copy paste errors

This commit is contained in:
Michael Scire 2020-02-24 09:49:43 -08:00
parent 8306464758
commit 05a24b5726
5 changed files with 14 additions and 14 deletions

View file

@ -66,4 +66,4 @@ static constexpr WakePinConfig WakePinConfigsCalcio[] = {
{0x3F, false, 0x02},
};
static constexpr size_t WakePinConfigsCalcio = util::size(WakePinConfigsCalcio);
static constexpr size_t NumWakePinConfigsCalcio = util::size(WakePinConfigsCalcio);

View file

@ -67,4 +67,4 @@ static constexpr WakePinConfig WakePinConfigsHoag[] = {
{0x3F, false, 0x02},
};
static constexpr size_t WakePinConfigsHoag = util::size(WakePinConfigsHoag);
static constexpr size_t NumWakePinConfigsHoag = util::size(WakePinConfigsHoag);

View file

@ -66,4 +66,4 @@ static constexpr WakePinConfig WakePinConfigsIowa[] = {
{0x3F, false, 0x02},
};
static constexpr size_t WakePinConfigsIowa = util::size(WakePinConfigsIowa);
static constexpr size_t NumWakePinConfigsIowa = util::size(WakePinConfigsIowa);

View file

@ -99,23 +99,23 @@ namespace ams::boot {
switch (spl::GetHardwareType()) {
case spl::HardwareType::Icosa:
configs = WakePinsIcosa;
num_configs = NumWakePinsIcosa;
configs = WakePinConfigsIcosa;
num_configs = NumWakePinConfigsIcosa;
break;
case spl::HardwareType::Copper:
configs = WakePinsCopper;
num_configs = NumWakePinsCopper;
configs = WakePinConfigsCopper;
num_configs = NumWakePinConfigsCopper;
break;
case spl::HardwareType::Hoag:
configs = WakePinsHoag;
num_configs = NumWakePinsHoag;
configs = WakePinConfigsHoag;
num_configs = NumWakePinConfigsHoag;
break;
case spl::HardwareType::Iowa:
configs = WakePinsIowa;
num_configs = NumWakePinsIowa;
configs = WakePinConfigsIowa;
num_configs = NumWakePinConfigsIowa;
case spl::HardwareType::Calcio:
configs = WakePinsCalcio;
num_configs = NumWakePinsCalcio;
configs = WakePinConfigsCalcio;
num_configs = NumWakePinConfigsCalcio;
break;
AMS_UNREACHABLE_DEFAULT_CASE();
}

View file

@ -48,4 +48,4 @@ constexpr InitialConfig InitialConfigsCalcio[] = {
{0x4E, GpioDirection_Input, GpioValue_Low},
};
constexpr u32 NumInitialConfigsCopper = (sizeof(InitialConfigsCalcio) / sizeof(InitialConfigsCalcio[0]));
constexpr u32 NumInitialConfigsCalcio = util::size(InitialConfigsCalcio);