From 95f13e5990408e1fb9f7190f830a1b5b3b5365bb Mon Sep 17 00:00:00 2001 From: Tanks Transfeld Date: Mon, 20 Mar 2023 14:43:38 +0100 Subject: [PATCH] Update embedded-workshop-book/src/uarte-implementation.md Co-authored-by: Jonathan Pallant --- embedded-workshop-book/src/uarte-implementation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedded-workshop-book/src/uarte-implementation.md b/embedded-workshop-book/src/uarte-implementation.md index 5ba4475..d198b8c 100644 --- a/embedded-workshop-book/src/uarte-implementation.md +++ b/embedded-workshop-book/src/uarte-implementation.md @@ -136,7 +136,7 @@ Instead our implementation must ensure all the strings are copied to a stack all ✅ Create a buffer. The type is an `array` of 16 u8, set to all 0. -✅ To copy all data into an on-stack buffer, iterate over every chunk of the string to copy it into the buffer. +✅ To copy all data into an on-stack buffer, *iterate* over *chunks* of the string and copy them into the buffer (noting that the chunk length may be less than the requested size if you are at the end of the input string).
Solution