Tidying EDBG driver code:
- Binned a lot of pointless code - Simplified many EDBG data structure implementations - Const-correctness - Many other bits of tidying
This commit is contained in:
@@ -98,7 +98,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap
|
||||
this->sendCommand(cmsisDapCommand);
|
||||
auto response = this->getResponse<typename CommandType::ExpectedResponseType>();
|
||||
|
||||
if (response.getResponseId() != cmsisDapCommand.getCommandId()) {
|
||||
if (response.id != cmsisDapCommand.commandId) {
|
||||
throw Exceptions::DeviceCommunicationFailure("Unexpected response to CMSIS-DAP command.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user