summaryrefslogtreecommitdiff
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-12 00:20:47 +0700
commit1b7439bfb1891d3ec7983649719d917af15aacf9 (patch)
tree7b9682ff8b776bf358d603fd46184b896d819fd3
parente52d793c79e71f4ff01791b63d5630ed9287b961 (diff)
downloadqmk_firmware-1b7439bfb1891d3ec7983649719d917af15aacf9.tar.gz
qmk_firmware-1b7439bfb1891d3ec7983649719d917af15aacf9.zip
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);