diff options
Diffstat (limited to 'common/command.c')
| -rw-r--r-- | common/command.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/command.c b/common/command.c index 82f647c8f..2d01c95e6 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -543,12 +543,9 @@ static uint8_t numkey2num(uint8_t code) | |||
| 543 | 543 | ||
| 544 | static void switch_default_layer(uint8_t layer) | 544 | static void switch_default_layer(uint8_t layer) |
| 545 | { | 545 | { |
| 546 | print_val_hex8(current_layer); | 546 | // TODO check existence of layer or whether it can be used as default layer |
| 547 | print_val_hex8(default_layer); | 547 | print("switch_default_layer: "); print_dec(default_layer); print(" to "); print_dec(layer); |
| 548 | print("switch to "); print_val_hex8(layer); | ||
| 549 | |||
| 550 | default_layer = layer; | 548 | default_layer = layer; |
| 551 | current_layer = 0; /* 0 means default_layer */ | ||
| 552 | layer_switch_clear(); | 549 | layer_switch_clear(); |
| 553 | clear_keyboard(); | 550 | clear_keyboard(); |
| 554 | } | 551 | } |
