Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
This commit is contained in:
@@ -168,7 +168,7 @@ void set_layer_color(int layer) {
|
||||
|
||||
void rgb_matrix_indicators_user(void) {
|
||||
if (g_suspend_state || disable_layer_color) { return; }
|
||||
switch (biton32(layer_state)) {
|
||||
switch (get_highest_layer(layer_state)) {
|
||||
case 0:
|
||||
set_layer_color(0);
|
||||
break;
|
||||
@@ -276,7 +276,7 @@ bool music_mask_user(uint16_t keycode) {
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
palClearPad(GPIOB, 8);
|
||||
palClearPad(GPIOB, 9);
|
||||
uint8_t layer = biton32(state);
|
||||
uint8_t layer = get_highest_layer(state);
|
||||
switch (layer) {
|
||||
case _LOWER:
|
||||
palSetPad(GPIOB, 9);
|
||||
|
Reference in New Issue
Block a user