1
0
Fork 0

Migrate crkbd keymaps to oled driver (#17863)

This commit is contained in:
Joel Challis 2022-07-31 20:36:30 +01:00 committed by GitHub
parent c10c2575b8
commit f7aaed1b57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 97 additions and 524 deletions

View file

@ -29,7 +29,11 @@ const char *read_layer_state(void) {
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Adjust");
break;
default:
#if defined (LAYER_STATE_32BIT)
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Undef-%ld", layer_state);
#else
snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Undef-%d", layer_state);
#endif
}
return layer_state_str;