diff options
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/>. | |||
| 26 | #include "timer.h" | 26 | #include "timer.h" |
| 27 | #include "keyboard.h" | 27 | #include "keyboard.h" |
| 28 | #include "bootloader.h" | 28 | #include "bootloader.h" |
| 29 | #include "layer_switch.h" | 29 | #include "action_layer.h" |
| 30 | #include "eeconfig.h" | 30 | #include "eeconfig.h" |
| 31 | #include "sleep_led.h" | 31 | #include "sleep_led.h" |
| 32 | #include "led.h" | 32 | #include "led.h" |
| @@ -573,8 +573,8 @@ static uint8_t numkey2num(uint8_t code) | |||
| 573 | 573 | ||
| 574 | static void switch_default_layer(uint8_t layer) | 574 | static void switch_default_layer(uint8_t layer) |
| 575 | { | 575 | { |
| 576 | print("switch_default_layer: "); print_dec(default_layer); print(" to "); print_dec(layer); print("\n"); | 576 | print("switch_default_layer: "); print_dec(biton32(default_layer_state)); |
| 577 | print(" to "); print_dec(layer); print("\n"); | ||
| 577 | default_layer_set(layer); | 578 | default_layer_set(layer); |
| 578 | overlay_clear(); | ||
| 579 | clear_keyboard(); | 579 | clear_keyboard(); |
| 580 | } | 580 | } |
