leds on in layers 4 & 5 (#129)

This commit is contained in:
jotix 2022-03-05 21:45:57 -03:00 committed by GitHub
parent adef73a790
commit 498fd87f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
layer_state_t layer_state_set_user(layer_state_t state) {
writePin(JOTANCK_LED1, (get_highest_layer(state) == 1));
writePin(JOTANCK_LED2, (get_highest_layer(state) == 2));
writePin(JOTANCK_LED1, (get_highest_layer(state) == 4));
writePin(JOTANCK_LED2, (get_highest_layer(state) == 5));
return state;
}