This commit is contained in:
Nav
2025-01-09 21:58:10 +00:00
parent f18b14885e
commit a3501153d4

View File

@@ -12,11 +12,7 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr::ResponseFrames::Avr
: Avr8GenericResponseFrame(avrResponses) : Avr8GenericResponseFrame(avrResponses)
{} {}
Targets::TargetMemoryBuffer getMemoryData() const { [[nodiscard]] Targets::TargetMemoryBuffer getMemoryData() const {
/*
* AVR8 data payloads are typically in little endian form, but this does not apply to the data returned
* from the READ MEMORY commands.
*/
return {this->payload.begin() + 2, this->payload.end() - 1}; return {this->payload.begin() + 2, this->payload.end() - 1};
} }
}; };