hocclk: fixes and other stuff

This commit is contained in:
souldbminersmwc
2026-05-08 15:53:53 -04:00
parent 848a788c5f
commit 598136c64b
18 changed files with 291 additions and 206 deletions

View File

@@ -33,7 +33,7 @@
#include "board.hpp"
#include "../tsensor/soctherm.hpp"
#include "../tsensor/aotag.hpp"
#include "bq24193.hpp"
#include "../tsensor/bq24193.hpp"
#include "../config.hpp"
namespace board {
@@ -81,7 +81,7 @@ namespace board {
}
case HocClkThermalSensor_MEM: {
if (board::GetSocType() == HocClkSocType_Mariko && tsensor::IsInitialized() && tsensor::ReadAotag() > 0) {
millis = (temps.gpu * 0.45f) + (temps.pllx * 0.30f) + (temps.cpu * 0.15f) + (tsensor::ReadAotag() * 0.10f) + 3000;
millis = (temps.pllx * 0.10f) + (tsensor::ReadAotag() * 0.90f);
} else {
millis = board::GetSocType() == HocClkSocType_Mariko ? temps.pllx : temps.mem;
}