Browse Source

Forgot to add ifdef to optional feature

pull/1103/head
Priyadi Iman Nurcahyo 7 years ago
parent
commit
1b7439bfb1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      keyboards/handwired/promethium/keymaps/priyadi/keymap.c

+ 2
- 0
keyboards/handwired/promethium/keymaps/priyadi/keymap.c View File

@ -755,6 +755,7 @@ void persistant_default_layer_set(uint16_t default_layer) {
default_layer_set(default_layer);
}
#ifdef DOUBLESPACE_LAYER_ENABLE
void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *isemitted) {
if (pressed) {
*isactive = true;
@ -778,6 +779,7 @@ void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *
}
}
}
#endif
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
bool lshift = keyboard_report->mods & MOD_BIT(KC_LSFT);


Loading…
Cancel
Save