Tidying
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Bloom::Usb
|
|||||||
if (devices.empty()) {
|
if (devices.empty()) {
|
||||||
throw DeviceInitializationFailure(
|
throw DeviceInitializationFailure(
|
||||||
"Failed to find USB device with matching vendor and product ID. Please examine the debug tool's USB "
|
"Failed to find USB device with matching vendor and product ID. Please examine the debug tool's USB "
|
||||||
"connection, as well as the selected environment's debug tool configuration in bloom.yaml"
|
"connection, as well as the selected environment's debug tool configuration, in bloom.yaml"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace Bloom
|
|||||||
|
|
||||||
Targets::TargetMemoryBuffer data;
|
Targets::TargetMemoryBuffer data;
|
||||||
|
|
||||||
for (auto i = 0; i < readsRequired; i++) {
|
for (std::uint32_t i = 0; i < readsRequired; i++) {
|
||||||
auto dataSegment = targetControllerConsole.readMemory(
|
auto dataSegment = targetControllerConsole.readMemory(
|
||||||
this->memoryType,
|
this->memoryType,
|
||||||
this->startAddress + static_cast<Targets::TargetMemoryAddress>(readSize * i),
|
this->startAddress + static_cast<Targets::TargetMemoryAddress>(readSize * i),
|
||||||
|
|||||||
Reference in New Issue
Block a user