diff --git a/src/DebugToolDrivers/Microchip/Protocols/EDBG/AVR/EdbgAvr8Interface.cpp b/src/DebugToolDrivers/Microchip/Protocols/EDBG/AVR/EdbgAvr8Interface.cpp index cf8f10b7..4de03d92 100644 --- a/src/DebugToolDrivers/Microchip/Protocols/EDBG/AVR/EdbgAvr8Interface.cpp +++ b/src/DebugToolDrivers/Microchip/Protocols/EDBG/AVR/EdbgAvr8Interface.cpp @@ -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"}; diff --git a/src/Targets/Target.hpp b/src/Targets/Target.hpp index 08118f96..fb16dfa4 100644 --- a/src/Targets/Target.hpp +++ b/src/Targets/Target.hpp @@ -49,7 +49,7 @@ namespace Targets virtual bool supportsDebugTool(DebugTool* debugTool) = 0; /** - * Assuming the Target::isDebugToolSupported() check passed, this function will be called shortly after, by the + * Assuming the Target::supportsDebugTool() check passed, this function will be called shortly after, by the * TargetController. * * @param debugTool