summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiervit <598737+Piervit@users.noreply.github.com>2026-01-01 09:37:25 +0100
committerGitHub <noreply@github.com>2026-01-01 00:37:25 -0800
commit6a5610a8be9173a45315eee698fbea07dd7ccb43 (patch)
tree5c424a0f2f44d3c1529fd58d25612366f8b12503
parentacbeec29dab5331fe914f35a53d6b43325881e4d (diff)
Fix functions layer_debug and default_layer_debug (#25913)
Co-authored-by: Joel Challis <git@zvecr.com>
-rw-r--r--quantum/action_layer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/action_layer.c b/quantum/action_layer.c
index 5828dcb824..0a088ab5f0 100644
--- a/quantum/action_layer.c
+++ b/quantum/action_layer.c
@@ -60,7 +60,7 @@ static void default_layer_state_set(layer_state_t state) {
60 * Print out the hex value of the 32-bit default layer state, as well as the value of the highest bit. 60 * Print out the hex value of the 32-bit default layer state, as well as the value of the highest bit.
61 */ 61 */
62void default_layer_debug(void) { 62void default_layer_debug(void) {
63 ac_dprintf("%08hX(%u)", default_layer_state, get_highest_layer(default_layer_state)); 63 ac_dprintf("%08lX(%u)", (uint32_t)default_layer_state, get_highest_layer(default_layer_state));
64} 64}
65 65
66/** \brief Default Layer Set 66/** \brief Default Layer Set
@@ -231,7 +231,7 @@ void layer_xor(layer_state_t state) {
231 * Print out the hex value of the 32-bit layer state, as well as the value of the highest bit. 231 * Print out the hex value of the 32-bit layer state, as well as the value of the highest bit.
232 */ 232 */
233void layer_debug(void) { 233void layer_debug(void) {
234 ac_dprintf("%08hX(%u)", layer_state, get_highest_layer(layer_state)); 234 ac_dprintf("%08lX(%u)", (uint32_t)layer_state, get_highest_layer(layer_state));
235} 235}
236#endif 236#endif
237 237