diff options
author | tmk <nobody@nowhere> | 2013-04-05 03:28:10 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-04-05 03:28:10 +0900 |
commit | a8c465215fce3dad502da868ca49eb446deadc4e (patch) | |
tree | 9d74ea9c5062a53775ebe1d01b3067d89413e084 /common/command.c | |
parent | 353a9b56e6caee853d3f808d2bfedf07056b4518 (diff) | |
parent | fbea2a3aae5d66ecb00fcd3473f76337d34688fa (diff) | |
download | firmware-a8c465215fce3dad502da868ca49eb446deadc4e.tar.gz firmware-a8c465215fce3dad502da868ca49eb446deadc4e.tar.bz2 firmware-a8c465215fce3dad502da868ca49eb446deadc4e.zip |
Merge branch 'action_refine'
Diffstat (limited to 'common/command.c')
-rw-r--r-- | common/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/command.c b/common/command.c index b29333883..3a1fcb186 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(); } |