summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-12 00:20:47 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-13 17:58:06 +0700
commit97472aabe65d70a8c45ae2f8c4c6e606fb3d286c (patch)
tree365ad2890fb84874b0c26289040cab0a108f091b
parent68e5c859990b31240b57ddf70a6d4e2e3762d195 (diff)
Forgot to add ifdef to optional feature
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
index 52b186c409..a24a79aa1c 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);