diff options
| author | Christoph Niedermaier <[email protected]> | 2025-03-20 20:01:47 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-04-08 16:23:27 -0600 |
| commit | 51b8679b94ea22ffb91925cf56df1950fd4b0e12 (patch) | |
| tree | 0f5df3e05accc33bbf2f10b4caac1ab6658e47af /doc | |
| parent | 9d9fbdab0e9664bff147109cc89ad2786f6ecd83 (diff) | |
tiny-printf: Improve %X formatting
If tiny printf is used with 0x%08X (upper case X) the output is
always 0x00000000. It could be confusing if upper case instead
of lower case is used intentionally or accidentally because the
actual value is not output. To avoid this confusion, treat output
of %X as %x. As a compromise for tiny printf, the hex value is
then output correctly, but in lower case. This is done to keep it
tiny printf small.
Signed-off-by: Christoph Niedermaier <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
