v1.12.0 #269

Merged
muellerr merged 493 commits from develop into main 2022-07-04 11:19:05 +02:00
92 changed files with 1560 additions and 3841 deletions
Showing only changes of commit 0172351e89 - Show all commits

View File

@ -37,10 +37,15 @@ HeaterHandler::HeaterHandler(object_id_t setObjectId_, GpioIF* gpioInterface_, H
HeaterHandler::~HeaterHandler() {} HeaterHandler::~HeaterHandler() {}
ReturnValue_t HeaterHandler::performOperation(uint8_t operationCode) { ReturnValue_t HeaterHandler::performOperation(uint8_t operationCode) {
readCommandQueue(); try {
handleActiveCommands(); readCommandQueue();
for (const auto& heater : helper.heaters) { handleActiveCommands();
heater.first->performOperation(0); for (const auto& heater : helper.heaters) {
heater.first->performOperation(0);
}
} catch(const std::out_of_range& e) {
sif::warning << "HeaterHandler::performOperation: "
"Out of range error | " << e.what() << std::endl;
} }
return RETURN_OK; return RETURN_OK;
} }