From caca7f5da8c6bbc49dcbdbfab21184e19179b97c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 27 Sep 2022 10:55:00 +0200 Subject: [PATCH] small bugfix --- bsp_q7s/core/CoreController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp_q7s/core/CoreController.cpp b/bsp_q7s/core/CoreController.cpp index f01eb9a8..de78f486 100644 --- a/bsp_q7s/core/CoreController.cpp +++ b/bsp_q7s/core/CoreController.cpp @@ -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(data[0]);