aboutsummaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/command.c b/common/command.c
index c5b9f0431..82f647c8f 100644
--- a/common/command.c
+++ b/common/command.c
@@ -26,8 +26,8 @@ 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 "command.h" 30#include "command.h"
30#include "layer_stack.h"
31 31
32#ifdef MOUSEKEY_ENABLE 32#ifdef MOUSEKEY_ENABLE
33#include "mousekey.h" 33#include "mousekey.h"
@@ -549,6 +549,6 @@ static void switch_default_layer(uint8_t layer)
549 549
550 default_layer = layer; 550 default_layer = layer;
551 current_layer = 0; /* 0 means default_layer */ 551 current_layer = 0; /* 0 means default_layer */
552 layer_stack_clear(); 552 layer_switch_clear();
553 clear_keyboard(); 553 clear_keyboard();
554} 554}