hibylinux: Button code should be displayed in hex.

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit a9e4c808786eb98153c0509cddbf066191c491ec
Author: Solomon Peachy <[email protected]>
Date:   Sat Jan 17 20:10:51 2026 -0500

    hibylinux:  Button code should be displayed in hex.
    
    Change-Id: I3581098f632ba8fe0146b677f575ec6159c7c2db

diff --git a/firmware/target/hosted/agptek/debug-agptek.c b/firmware/target/hosted/agptek/debug-agptek.c
index a4eeee0066..81c53d56eb 100644
--- a/firmware/target/hosted/agptek/debug-agptek.c
+++ b/firmware/target/hosted/agptek/debug-agptek.c
@@ -86,7 +86,7 @@ bool dbg_hw_info(void)
 #else
         btn = button_read_device();
 #endif
-        lcd_putsf(0, line++, "btn: %d", btn);
+        lcd_putsf(0, line++, "btn: 0x%x", btn);
 
         lcd_update();
         sleep(HZ/16);
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.