mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-29 22:22:40 +02:00
boot: probably should have done this a few months ago huh
This commit is contained in:
parent
3bee3e77ca
commit
3cd8ec509c
@ -135,6 +135,11 @@ namespace ams {
|
|||||||
/* Get the hardware type. */
|
/* Get the hardware type. */
|
||||||
const auto hw_type = spl::GetHardwareType();
|
const auto hw_type = spl::GetHardwareType();
|
||||||
|
|
||||||
|
/* TODO: Aula support. */
|
||||||
|
/* We haven't actually implemented battery configuration for Aula, running on OLED models */
|
||||||
|
/* is likely not good for the hardware until we do that properly. */
|
||||||
|
AMS_ABORT_UNLESS(hw_type != spl::HardwareType::Aula);
|
||||||
|
|
||||||
/* Initialize the power control library without interrupt event handling. */
|
/* Initialize the power control library without interrupt event handling. */
|
||||||
if (hw_type != spl::HardwareType::Calcio) {
|
if (hw_type != spl::HardwareType::Calcio) {
|
||||||
powctl::Initialize(false);
|
powctl::Initialize(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user