squashed EIVE software
This commit is contained in:
1 parent
eced94f335
commit
996aa72fb4
823 files changed
+115952
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#include "HeaterHealthDev.h"
|
||||
|
||||
HeaterHealthDev::HeaterHealthDev(object_id_t setObjectId, MessageQueueId_t parentQueue)
|
||||
: HealthDevice(setObjectId, parentQueue) {}
|
||||
|
||||
ReturnValue_t HeaterHealthDev::setHealth(HealthState health) {
|
||||
// Does not make sense for a simple heater.
|
||||
if (health == HealthState::NEEDS_RECOVERY) {
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
return HealthDevice::setHealth(health);
|
||||
}
|
||||
Reference in new issue
Block a user