This commit is contained in:
Nav
2024-11-06 20:05:59 +00:00
parent 285fc41c23
commit 7662dec100
2 changed files with 2 additions and 2 deletions

View File

@@ -1471,7 +1471,7 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
throw Avr8CommandFailure{"AVR8 Read memory command failed", responseFrame};
}
const auto data = responseFrame.getMemoryData();
auto data = responseFrame.getMemoryData();
if (data.size() != bytes) {
throw Avr8CommandFailure{"Unexpected number of bytes returned from EDBG debug tool"};