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.
This commit is contained in:
d00f
2026-08-18 23:30:40 +02:00
parent 2c26a4f389
commit 201c7e333d
-2
View File
@@ -546,8 +546,6 @@ static __xdata uint8_t * __xdata pi_mac;
static void u32hex_html(void) 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; __xdata uint8_t *b = (__xdata uint8_t *)&pi_u32;
byte_to_html(b[3]); byte_to_html(b[3]);
byte_to_html(b[2]); byte_to_html(b[2]);