mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-16 08:04:23 -04:00
sts: add STS_UNREACHABLE_DEFAULT_CASE()
This commit is contained in:
parent
609a302e16
commit
add18d868f
23 changed files with 50 additions and 87 deletions
|
@ -69,9 +69,8 @@ namespace sts::gpio {
|
|||
configs = InitialConfigsIowa;
|
||||
num_configs = NumInitialConfigsIowa;
|
||||
break;
|
||||
default:
|
||||
/* Unknown hardware type, we can't proceed. */
|
||||
std::abort();
|
||||
/* Unknown hardware type, we can't proceed. */
|
||||
STS_UNREACHABLE_DEFAULT_CASE();
|
||||
}
|
||||
} else {
|
||||
/* Until 2.0.0, the GPIO map for Icosa was used for all hardware types. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue