Skip to content

Commit

Permalink
fix print error
Browse files Browse the repository at this point in the history
  • Loading branch information
hantianjz committed Mar 16, 2024
1 parent 4a0b5b9 commit 79de5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/lily58/lib/layer_state_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const char *read_layer_state(void) {
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: BASE");
break;
default:
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Undef-%ld", layer_state);
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Undef-%d", layer_state);
}

return layer_state_str;
Expand Down

0 comments on commit 79de5d8

Please sign in to comment.