Skip to content

Commit

Permalink
[Bug] Fix default layer value in eeconfig_init (#21909)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <fauxpark@gmail.com>
  • Loading branch information
drashna and fauxpark authored Sep 14, 2023
1 parent 99a225e commit 9c2c96a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/eeconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void eeconfig_init_quantum(void) {

eeprom_update_word(EECONFIG_MAGIC, EECONFIG_MAGIC_NUMBER);
eeprom_update_byte(EECONFIG_DEBUG, 0);
eeprom_update_byte(EECONFIG_DEFAULT_LAYER, 0);
default_layer_state = 0;
default_layer_state = (layer_state_t)1 << 0;
eeprom_update_byte(EECONFIG_DEFAULT_LAYER, default_layer_state);
// Enable oneshot and autocorrect by default: 0b0001 0100 0000 0000
eeprom_update_word(EECONFIG_KEYMAP, 0x1400);
eeprom_update_byte(EECONFIG_BACKLIGHT, 0);
Expand Down

0 comments on commit 9c2c96a

Please sign in to comment.