mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-05 01:58:57 +00:00
Update embedded-workshop-book/src/uarte-implementation.md
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
026f173380
commit
95f13e5990
|
@ -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).
|
||||
|
||||
<details>
|
||||
<summary>Solution</summary>
|
||||
|
|
Loading…
Reference in a new issue