Re: [PATCH 1/3] include: debug_ll: define puthexc_ll

2022-11-02 Thread Sascha Hauer
On Wed, Oct 19, 2022 at 02:38:15PM +0200, Ahmad Fatoum wrote: > puthex_ll prints a single zero-padded unsigned long, which for a single > byte is not very readable, especially on 64-bit systems. Define > puthexc_ll() as well, which just accepts a byte and formats its nibbles > as hexadecimal

[PATCH 1/3] include: debug_ll: define puthexc_ll

2022-10-19 Thread Ahmad Fatoum
puthex_ll prints a single zero-padded unsigned long, which for a single byte is not very readable, especially on 64-bit systems. Define puthexc_ll() as well, which just accepts a byte and formats its nibbles as hexadecimal characters. Signed-off-by: Ahmad Fatoum --- include/debug_ll.h | 16