Removed TargetProgramCounter type alias
This commit is contained in:
@@ -14,9 +14,9 @@ namespace TargetController::Commands
|
||||
static constexpr CommandType type = CommandType::SET_TARGET_PROGRAM_COUNTER;
|
||||
static const inline std::string name = "SetTargetProgramCounter";
|
||||
|
||||
Targets::TargetProgramCounter address = 0;
|
||||
Targets::TargetMemoryAddress address = 0;
|
||||
|
||||
explicit SetTargetProgramCounter(Targets::TargetProgramCounter address)
|
||||
explicit SetTargetProgramCounter(Targets::TargetMemoryAddress address)
|
||||
: address(address)
|
||||
{};
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ namespace TargetController::Commands
|
||||
static constexpr CommandType type = CommandType::STEP_TARGET_EXECUTION;
|
||||
static const inline std::string name = "StepTargetExecution";
|
||||
|
||||
std::optional<Targets::TargetProgramCounter> fromProgramCounter;
|
||||
std::optional<Targets::TargetMemoryAddress> fromProgramCounter;
|
||||
|
||||
StepTargetExecution() = default;
|
||||
explicit StepTargetExecution(Targets::TargetProgramCounter fromProgramCounter)
|
||||
explicit StepTargetExecution(Targets::TargetMemoryAddress fromProgramCounter)
|
||||
: fromProgramCounter(fromProgramCounter)
|
||||
{};
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@ namespace TargetController::Responses
|
||||
public:
|
||||
static constexpr ResponseType type = ResponseType::TARGET_PROGRAM_COUNTER;
|
||||
|
||||
Targets::TargetProgramCounter programCounter;
|
||||
Targets::TargetMemoryAddress programCounter;
|
||||
|
||||
explicit TargetProgramCounter(Targets::TargetProgramCounter programCounter)
|
||||
explicit TargetProgramCounter(Targets::TargetMemoryAddress programCounter)
|
||||
: programCounter(programCounter)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user