From 201c7e333d8baceb3420057ce864250260a3c247 Mon Sep 17 00:00:00 2001 From: d00f <8052722+DrDoof@users.noreply.github.com> Date: Sun, 16 Aug 2026 11:00:06 +0200 Subject: [PATCH] httpd: drop the byte-access justification from u32hex_html Byte access instead of 32-bit shifts is how this codebase works everywhere, so the comment explained a house rule at one call site. --- httpd/page_impl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/httpd/page_impl.c b/httpd/page_impl.c index a53362e..31aad43 100644 --- a/httpd/page_impl.c +++ b/httpd/page_impl.c @@ -546,8 +546,6 @@ static __xdata uint8_t * __xdata pi_mac; static void u32hex_html(void) { - /* byte access instead of uint32 shifts: sdcc/mcs51 expands each - * 32-bit shift into a large helper sequence. Little-endian layout. */ __xdata uint8_t *b = (__xdata uint8_t *)&pi_u32; byte_to_html(b[3]); byte_to_html(b[2]);