Added requiresStoppedTargetState() member function to TargetController command classes.
The TargetController will use this to determine whether to stop the target before handling a given command.
This commit is contained in:
@@ -35,5 +35,9 @@ namespace Bloom::TargetController::Commands
|
||||
[[nodiscard]] CommandType getType() const override {
|
||||
return ReadTargetMemory::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool requiresStoppedTargetState() const override {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user