diff options
author | Paul Selkirk <paul@psgd.org> | 2020-10-15 18:20:36 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-10-15 18:20:36 -0400 |
commit | 11a3fe10920aa705d7f1c50b32b2bb9feda2ad8b (patch) | |
tree | c99d816c2321d7765d773fdb922c4323ba538607 /README.md | |
parent | 68f2f6f9c908d4f51036505b50ab42436e720143 (diff) |
2 years later, Ubuntu is still shipping a broken newlib, and Rob points
out writing 4 bytes into a 1-byte value is probably not a good idea.
So sscanf the string into an array of uint16_t, and copy out the low
bytes. It's a kludge, but the alternatives are worse (e.g. bypass sscanf,
and parse raw bytes).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions