Revert "hoc-clk: add live vdd2, live boost clock and basic pwm dimming"

This reverts commit 15b7df8ef1.
This commit is contained in:
souldbminersmwc
2025-11-09 16:14:52 -05:00
parent 22ec140738
commit 21a3f953d7
3804 changed files with 435 additions and 570162 deletions

View File

@@ -38,9 +38,6 @@
#include "clock_manager.h"
#include "ipc_service.h"
#include "fancontrol.h"
#include "emc_patcher.h"
#include "pwm_dimming.h"
#define INNER_HEAP_SIZE 0x30000
extern "C"
@@ -116,25 +113,17 @@ int main(int argc, char** argv)
{
Board::Initialize();
ProcessManagement::Initialize();
PWMDimmer::Initialize();
ProcessManagement::WaitForQLaunch();
ClockManager* clockMgr = new ClockManager();
IpcService* ipcSrv = new IpcService(clockMgr);
EMCpatcher* emcPatcher = new EMCpatcher();
PWMDimmer* pwmDimmer = PWMDimmer::GetInstance();
FileUtils::LogLine("Ready");
clockMgr->SetRunning(true);
clockMgr->GetConfig()->SetEnabled(true);
ipcSrv->SetRunning(true);
pwmDimmer->Initialize();
emcPatcher->GetConfig()->SetEnabled(true);
emcPatcher->Run();
pwmDimmer->Start();
TemperaturePoint *table;
ReadConfigFile(&table);
InitFanController(table);