v1.14.0 #304

Merged
muellerr merged 366 commits from develop into main 2022-10-10 17:46:38 +02:00
Showing only changes of commit caca7f5da8 - Show all commits

View File

@ -231,7 +231,7 @@ ReturnValue_t CoreController::executeAction(ActionId_t actionId, MessageQueueId_
if (size != 1) { if (size != 1) {
return HasActionsIF::INVALID_PARAMETERS; return HasActionsIF::INVALID_PARAMETERS;
} }
if (data[0] != 0 and data[1] != 1) { if (data[0] != 0 and data[0] != 1) {
return HasActionsIF::INVALID_PARAMETERS; return HasActionsIF::INVALID_PARAMETERS;
} }
auto active = static_cast<sd::SdCard>(data[0]); auto active = static_cast<sd::SdCard>(data[0]);