feat: add warning threshold to temperature module

Signed-off-by: PassiHD <passihd@phoenixts.eu>
This commit is contained in:
PassiHD
2024-10-09 20:22:58 +02:00
parent 280f11e247
commit 6df26ccba7
2 changed files with 13 additions and 2 deletions

View File

@ -18,6 +18,7 @@ class Temperature : public ALabel {
private:
float getTemperature();
bool isCritical(uint16_t);
bool isWarning(uint16_t);
std::string file_path_;
util::SleeperThread thread_;