Replaced overloaded casting of CMSIS-DAP Command with rawCommand member function

This commit is contained in:
Nav
2023-01-20 22:53:04 +00:00
parent c35fdbd4ed
commit 693abced8e
3 changed files with 5 additions and 5 deletions

View File

@@ -25,6 +25,6 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap
this->lastCommandSentTimeStamp = now;
}
this->getUsbHidInterface().write(static_cast<std::vector<unsigned char>>(cmsisDapCommand));
this->getUsbHidInterface().write(cmsisDapCommand.rawCommand());
}
}