summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/occ_405/amec/amec_health.c2
-rwxr-xr-xsrc/occ_405/occbuildname.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/occ_405/amec/amec_health.c b/src/occ_405/amec/amec_health.c
index fcc9698..f0b2609 100755
--- a/src/occ_405/amec/amec_health.c
+++ b/src/occ_405/amec/amec_health.c
@@ -1028,7 +1028,7 @@ void amec_health_check_vrm_vdd_temp(const sensor_t *i_sensor)
l_ot_error = g_amec->thermalvdd.ot_error;
// Check to see if we exceeded our error temperature
- if (i_sensor->sample > l_ot_error)
+ if ((l_ot_error != 0) && (i_sensor->sample > l_ot_error))
{
// Increment the error counter for this FRU
L_error_count++;
diff --git a/src/occ_405/occbuildname.c b/src/occ_405/occbuildname.c
index d075419..100ecb6 100755
--- a/src/occ_405/occbuildname.c
+++ b/src/occ_405/occbuildname.c
@@ -34,6 +34,6 @@ volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) =
#else
-volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) = /*<BuildName>*/ "op_occ_171020a\0" /*</BuildName>*/ ;
+volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) = /*<BuildName>*/ "op_occ_171020b\0" /*</BuildName>*/ ;
#endif
OpenPOWER on IntegriCloud