add soctherm

This commit is contained in:
Lightos1
2026-03-31 23:26:18 +02:00
parent 8f6a5eee28
commit bf17e53c8f
6 changed files with 865 additions and 62 deletions

View File

@@ -39,6 +39,7 @@
#include "board_load.hpp"
#include "board_volt.hpp"
#include "board_misc.hpp"
#include "../soctherm.hpp"
namespace board {
@@ -134,6 +135,8 @@ namespace board {
batteryInfoInitialize();
FetchHardwareInfos();
soctherm::Initialize();
Result pwmCheck = 1;
if (hosversionAtLeast(6,0,0) && R_SUCCEEDED(pwmInitialize())) {
pwmCheck = pwmOpenSession2(&iCon, 0x3D000001);