Tidying
This commit is contained in:
@@ -1471,7 +1471,7 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
|
|||||||
throw Avr8CommandFailure{"AVR8 Read memory command failed", responseFrame};
|
throw Avr8CommandFailure{"AVR8 Read memory command failed", responseFrame};
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto data = responseFrame.getMemoryData();
|
auto data = responseFrame.getMemoryData();
|
||||||
|
|
||||||
if (data.size() != bytes) {
|
if (data.size() != bytes) {
|
||||||
throw Avr8CommandFailure{"Unexpected number of bytes returned from EDBG debug tool"};
|
throw Avr8CommandFailure{"Unexpected number of bytes returned from EDBG debug tool"};
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ namespace Targets
|
|||||||
virtual bool supportsDebugTool(DebugTool* debugTool) = 0;
|
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.
|
* TargetController.
|
||||||
*
|
*
|
||||||
* @param debugTool
|
* @param debugTool
|
||||||
|
|||||||
Reference in New Issue
Block a user