Fix Max fan speed with Deconfigured DIMM
Fan Speeds Remain at Maximum Speed With Deconfigured DIMMs
Tested: Injected Errors on DIMMs.
Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
Change-Id: I797698f888cd9fb431d4f490c144eb5ad942bcd8
diff --git a/occ_manager.hpp b/occ_manager.hpp
index 0a38b01..65d7545 100644
--- a/occ_manager.hpp
+++ b/occ_manager.hpp
@@ -145,6 +145,12 @@
/** @brief Notify pcap object to update bounds */
void updatePcapBounds() const;
+ /**
+ * @brief Set all sensor values of this OCC to NaN.
+ * @param[in] id - Id of the OCC.
+ * */
+ void setSensorValueToNaN(uint32_t id) const;
+
/** @brief Set all sensor values of this OCC to NaN and non functional.
*
* @param[in] id - Id of the OCC.
@@ -368,12 +374,6 @@
* */
void readPowerSensors(const fs::path& path, uint32_t id);
- /**
- * @brief Set all sensor values of this OCC to NaN.
- * @param[in] id - Id of the OCC.
- * */
- void setSensorValueToNaN(uint32_t id);
-
/** @brief Store the existing OCC sensors on D-BUS */
std::map<std::string, uint32_t> existingSensors;