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,