Fixed bug with TC providing incorrect previous target execution state upon stopping target execution
This commit is contained in:
@@ -632,7 +632,6 @@ namespace TargetController
|
||||
void TargetControllerComponent::stopTarget() {
|
||||
if (this->target->getExecutionState() != TargetExecutionState::STOPPED) {
|
||||
this->target->stop();
|
||||
this->targetState->executionState = TargetExecutionState::STOPPED;
|
||||
}
|
||||
|
||||
auto newState = *(this->targetState);
|
||||
|
||||
Reference in New Issue
Block a user