From 7662dec100fc515cd0b6326690a9fad5ee2a91b9 Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 6 Nov 2024 20:05:59 +0000 Subject: [PATCH] Tidying --- .../Microchip/Protocols/EDBG/AVR/EdbgAvr8Interface.cpp | 2 +- src/Targets/Target.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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