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:
parent
8306464758
commit
05a24b5726
5 changed files with 14 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue