summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-04-02 16:09:43 +0900
committertmk <nobody@nowhere>2013-04-02 16:09:43 +0900
commitcc8e66754b1a5d0c11985cb0feb51ead49668744 (patch)
treeb2c7aa7bf5a2ed20650febc6b25fbbd3d773fe10 /common/command.c
parent10f33a3e484e24065ed5eaab1c56c35156bace89 (diff)
Refine ACT_LAYER and ACT_LAYER_TAP
- Remove ACT_LAYER_BITOP
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index e197a8f80a..c954ff02f4 100644
--- a/common/command.c
+++ b/common/command.c
@@ -573,7 +573,8 @@ static uint8_t numkey2num(uint8_t code)
static void switch_default_layer(uint8_t layer)
{
- print("switch_default_layer: "); print_dec(default_layer); print(" to "); print_dec(layer); print("\n");
+ print("switch_default_layer: "); print_dec(biton32(default_layer_state));
default_layer_set(layer);
+ print(" to "); print_dec(biton32(default_layer_state)); print("\n");
clear_keyboard();
}