summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-04-19 02:55:19 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-04-19 02:55:19 +0700
commit5bc0c4a0115c5d434ba3840c63222d1daefda758 (patch)
tree7bf6b507c6a813574526d8fa34479d418a19cbd0
parent3fa0b66289770ccc4d8a5b39eaf66ff3b7c67529 (diff)
downloadqmk_firmware-5bc0c4a0115c5d434ba3840c63222d1daefda758.tar.gz
qmk_firmware-5bc0c4a0115c5d434ba3840c63222d1daefda758.zip
Fix Planck compatibility
-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 55e028f184..efa5d9756e 100644
--- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
@@ -924,7 +924,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void persistant_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
+#ifdef RGBSPS_ENABLE
led_set_default_layer_indicator();
+#endif
}
#ifdef DOUBLESPACE_LAYER_ENABLE