Renamed CMSIS commandId field to id

This commit is contained in:
Nav
2022-10-01 21:02:10 +01:00
parent 065a389dfe
commit 9fb017c2de
3 changed files with 4 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap
this->sendCommand(cmsisDapCommand);
auto response = this->getResponse<typename CommandType::ExpectedResponseType>();
if (response.id != cmsisDapCommand.commandId) {
if (response.id != cmsisDapCommand.id) {
throw Exceptions::DeviceCommunicationFailure("Unexpected response to CMSIS-DAP command.");
}