From c018b10a7f2b2e43d432529c225e89598fd709bf Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Sat, 9 May 2026 21:41:11 +0200 Subject: [PATCH] soctherm: remove reduntant EnableSensor calls --- Source/hoc-clk/sysmodule/src/tsensor/soctherm.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/hoc-clk/sysmodule/src/tsensor/soctherm.cpp b/Source/hoc-clk/sysmodule/src/tsensor/soctherm.cpp index 4fcb8ff2..29353733 100644 --- a/Source/hoc-clk/sysmodule/src/tsensor/soctherm.cpp +++ b/Source/hoc-clk/sysmodule/src/tsensor/soctherm.cpp @@ -463,9 +463,6 @@ namespace tsensor { pdiv = (ReadReg(socthermVa, SENSOR_PDIV) & PDIV_MASK_T210) | PDIV_RATE_T210; hotspot = (ReadReg(socthermVa, SENSOR_HOTSPOT_OFF) & HOTSPOT_MASK_T210) | HOTSPOT_VAL; - - EnableSensor(&eristaTSensors[SocthermTSensor_MEM0], SocthermTSensor_MEM0); - EnableSensor(&eristaTSensors[SocthermTSensor_MEM1], SocthermTSensor_MEM1); } WriteReg(socthermVa, SENSOR_PDIV, pdiv);