found some bugs
Some checks failed
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2023-03-31 12:47:55 +02:00
parent a1380a6e3a
commit e0f94039b4
3 changed files with 0 additions and 7 deletions

View File

@ -99,10 +99,6 @@ ReturnValue_t SyrlinksHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
}
ReturnValue_t SyrlinksHandler::buildTransitionDeviceCommand(DeviceCommandId_t* id) {
if (transitionCommandPending) {
return NOTHING_TO_SEND;
}
transitionCommandPending = true;
switch (internalState) {
case InternalState::ENABLE_TEMPERATURE_PROTECTION: {
*id = syrlinks::WRITE_LCL_CONFIG;
@ -129,7 +125,6 @@ ReturnValue_t SyrlinksHandler::buildTransitionDeviceCommand(DeviceCommandId_t* i
return buildCommandFromCommand(*id, nullptr, 0);
}
default: {
transitionCommandPending = false;
break;
}
}