summaryrefslogtreecommitdiffstats
path: root/src/occ_405/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/thread')
-rwxr-xr-xsrc/occ_405/thread/chom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/occ_405/thread/chom.c b/src/occ_405/thread/chom.c
index aa0839c..ed04564 100755
--- a/src/occ_405/thread/chom.c
+++ b/src/occ_405/thread/chom.c
@@ -238,9 +238,9 @@ void chom_update_sensors()
// update chom sensors which has multiple mini-sensor source
for (i = 0 ; i<MAX_OCCS ; i++)
{
- if (G_dcom_slv_outbox_rx[i].temp4msp0peak > l_max_core_temp)
+ if (G_dcom_slv_outbox_rx[i].tempprocthermal > l_max_core_temp)
{
- l_max_core_temp = G_dcom_slv_outbox_rx[i].temp4msp0peak;
+ l_max_core_temp = G_dcom_slv_outbox_rx[i].tempprocthermal;
}
if (G_dcom_slv_outbox_rx[i].temp2mscent > l_max_cent_temp)
OpenPOWER on IntegriCloud