mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01: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. */
|
||||
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. */
|
||||
if (hw_type != spl::HardwareType::Calcio) {
|
||||
powctl::Initialize(false);
|
||||
|
Loading…
Reference in New Issue
Block a user