summary refs log tree commit diff
path: root/common/command.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-04-05 03:28:10 +0900
committertmk <nobody@nowhere>2013-04-05 03:28:10 +0900
commita8c465215fce3dad502da868ca49eb446deadc4e (patch)
tree9d74ea9c5062a53775ebe1d01b3067d89413e084 /common/command.c
parent353a9b56e6caee853d3f808d2bfedf07056b4518 (diff)
parentfbea2a3aae5d66ecb00fcd3473f76337d34688fa (diff)
Merge branch 'action_refine'
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/command.c b/common/command.c
index b29333883e..3a1fcb186e 100644
--- a/common/command.c
+++ b/common/command.c
@@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "timer.h"
 #include "keyboard.h"
 #include "bootloader.h"
-#include "layer_switch.h"
+#include "action_layer.h"
 #include "eeconfig.h"
 #include "sleep_led.h"
 #include "led.h"
@@ -573,8 +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));
+    print(" to "); print_dec(layer); print("\n");
     default_layer_set(layer);
-    overlay_clear();
     clear_keyboard();
 }