From: Priyadi Iman Nurcahyo Date: Sat, 11 Feb 2017 17:20:47 +0000 (+0700) Subject: Forgot to add ifdef to optional feature X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1b7439bfb1891d3ec7983649719d917af15aacf9;p=qmk_firmware.git Forgot to add ifdef to optional feature --- diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c index 52b186c40..a24a79aa1 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c +++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c @@ -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);