1
0
Fork 0

Update make rules for community/ortho_4x12/junonum (#10467)

This commit is contained in:
Juno Nguyen 2020-10-02 05:13:13 +08:00 committed by GitHub
parent 10f5767010
commit 2f01c6ee18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View file

@ -125,8 +125,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
float dpad_song_off[][2] = SONG(MAJOR_SOUND);
#endif
// Disable LED on Rev6
#ifdef KEYBOARD_planck_rev6
#ifndef BACKLIGHT_ENABLE
layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}

View file

@ -1,9 +1,13 @@
SRC += muse.c
ifeq ($(strip $(KEYBOARD)), planck/rev6)
BACKLIGHT_ENABLE = no
else
ifeq ($(strip $(KEYBOARD)),$(filter $(strip $(KEYBOARD)), planck/rev2 planck/rev3 planck/rev4 planck/rev5))
BACKLIGHT_ENABLE = yes
else
BACKLIGHT_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), vitamins_included/rev1)
NKRO_ENABLE = no
endif
MIDI_ENABLE=no