diff options
Diffstat (limited to 'common/command.c')
| -rw-r--r-- | common/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/command.c b/common/command.c index 74b7c5ebc..73a72b4a1 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -129,7 +129,7 @@ static void command_common_help(void) | |||
| 129 | #ifdef BOOTMAGIC_ENABLE | 129 | #ifdef BOOTMAGIC_ENABLE |
| 130 | static void print_eeconfig(void) | 130 | static void print_eeconfig(void) |
| 131 | { | 131 | { |
| 132 | print("default_layer: "); print_dec(eeconfig_read_defalt_layer()); print("\n"); | 132 | print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n"); |
| 133 | 133 | ||
| 134 | debug_config_t dc; | 134 | debug_config_t dc; |
| 135 | dc.raw = eeconfig_read_debug(); | 135 | dc.raw = eeconfig_read_debug(); |
| @@ -579,6 +579,6 @@ static void switch_default_layer(uint8_t layer) | |||
| 579 | { | 579 | { |
| 580 | print("switch_default_layer: "); print_dec(biton32(default_layer_state)); | 580 | print("switch_default_layer: "); print_dec(biton32(default_layer_state)); |
| 581 | print(" to "); print_dec(layer); print("\n"); | 581 | print(" to "); print_dec(layer); print("\n"); |
| 582 | default_layer_set(layer); | 582 | default_layer_set(1UL<<layer); |
| 583 | clear_keyboard(); | 583 | clear_keyboard(); |
| 584 | } | 584 | } |
