Răsfoiți Sursa

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot 8 luni în urmă
părinte
comite
1e0ca1155d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      quantum/action_layer.c

+ 2 - 2
quantum/action_layer.c

@@ -60,7 +60,7 @@ static void default_layer_state_set(layer_state_t state) {
  * Print out the hex value of the 32-bit default layer state, as well as the value of the highest bit.
  */
 void default_layer_debug(void) {
-    ac_dprintf("%08hX(%u)", default_layer_state, get_highest_layer(default_layer_state));
+    ac_dprintf("%08lX(%u)", (uint32_t)default_layer_state, get_highest_layer(default_layer_state));
 }
 
 /** \brief Default Layer Set
@@ -231,7 +231,7 @@ void layer_xor(layer_state_t state) {
  * Print out the hex value of the 32-bit layer state, as well as the value of the highest bit.
  */
 void layer_debug(void) {
-    ac_dprintf("%08hX(%u)", layer_state, get_highest_layer(layer_state));
+    ac_dprintf("%08lX(%u)", (uint32_t)layer_state, get_highest_layer(layer_state));
 }
 #endif