From 830646475871c77e89a418aff7faee0e87292bd8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 24 Feb 2020 09:45:40 -0800 Subject: [PATCH] boot: fix wrong fallthroughs --- stratosphere/boot/source/gpio/gpio_initial_configuration.cpp | 1 + .../boot/source/pinmux/pinmux_initial_configuration.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/stratosphere/boot/source/gpio/gpio_initial_configuration.cpp b/stratosphere/boot/source/gpio/gpio_initial_configuration.cpp index 0c648b5e8..5b7efd8cd 100644 --- a/stratosphere/boot/source/gpio/gpio_initial_configuration.cpp +++ b/stratosphere/boot/source/gpio/gpio_initial_configuration.cpp @@ -69,6 +69,7 @@ namespace ams::gpio { case spl::HardwareType::Iowa: configs = InitialConfigsIowa; num_configs = NumInitialConfigsIowa; + break; case spl::HardwareType::Calcio: configs = InitialConfigsCalcio; num_configs = NumInitialConfigsCalcio; diff --git a/stratosphere/boot/source/pinmux/pinmux_initial_configuration.cpp b/stratosphere/boot/source/pinmux/pinmux_initial_configuration.cpp index 9c484b616..d9a651b12 100644 --- a/stratosphere/boot/source/pinmux/pinmux_initial_configuration.cpp +++ b/stratosphere/boot/source/pinmux/pinmux_initial_configuration.cpp @@ -59,6 +59,7 @@ namespace ams::pinmux { case spl::HardwareType::Iowa: configs = InitialConfigsIowa; num_configs = NumInitialConfigsIowa; + break; case spl::HardwareType::Calcio: configs = InitialConfigsCalcio; num_configs = NumInitialConfigsCalcio; @@ -97,6 +98,7 @@ namespace ams::pinmux { case spl::HardwareType::Calcio: configs = InitialDrivePadConfigs; num_configs = NumInitialDrivePadConfigs; + break; case spl::HardwareType::Hoag: configs = InitialDrivePadConfigsHoag; num_configs = NumInitialDrivePadConfigsHoag;