From 53e68c324671966282da66a679dd14809618a20d Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 29 Mar 2025 14:06:37 +0000 Subject: [PATCH] Tidying --- src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.cpp | 2 +- src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.hpp | 2 +- src/DebugToolDrivers/Wch/WchLinkDebugInterface.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.cpp b/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.cpp index 5c3c42ed..3e87ad1d 100644 --- a/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.cpp +++ b/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.cpp @@ -185,7 +185,7 @@ namespace DebugToolDrivers::Wch::Protocols::WchLink } } - void WchLinkInterface::writeFlashFullBlocks( + void WchLinkInterface::writeFlashFullBlock( Targets::TargetMemoryAddress startAddress, Targets::TargetMemoryBufferSpan buffer, Targets::TargetMemorySize blockSize, diff --git a/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.hpp b/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.hpp index 2fe1eae8..95f1bc12 100644 --- a/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.hpp +++ b/src/DebugToolDrivers/Wch/Protocols/WchLink/WchLinkInterface.hpp @@ -46,7 +46,7 @@ namespace DebugToolDrivers::Wch::Protocols::WchLink ) override; void writeFlashPartialBlock(Targets::TargetMemoryAddress startAddress, Targets::TargetMemoryBufferSpan buffer); - void writeFlashFullBlocks( + void writeFlashFullBlock( Targets::TargetMemoryAddress startAddress, Targets::TargetMemoryBufferSpan buffer, Targets::TargetMemorySize blockSize, diff --git a/src/DebugToolDrivers/Wch/WchLinkDebugInterface.cpp b/src/DebugToolDrivers/Wch/WchLinkDebugInterface.cpp index 7fe4c351..506c6283 100644 --- a/src/DebugToolDrivers/Wch/WchLinkDebugInterface.cpp +++ b/src/DebugToolDrivers/Wch/WchLinkDebugInterface.cpp @@ -658,7 +658,7 @@ namespace DebugToolDrivers::Wch return; } - this->wchLinkInterface.writeFlashFullBlocks( + this->wchLinkInterface.writeFlashFullBlock( startAddress, buffer, this->programmingBlockSize,