This commit is contained in:
parent
8c0fd8d9e2
commit
caca7f5da8
@ -231,7 +231,7 @@ ReturnValue_t CoreController::executeAction(ActionId_t actionId, MessageQueueId_
|
||||
if (size != 1) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
if (data[0] != 0 and data[1] != 1) {
|
||||
if (data[0] != 0 and data[0] != 1) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
auto active = static_cast<sd::SdCard>(data[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user