Skip to content

Commit

Permalink
Fix EECONFIG_KEYMAP_UPPER_BYTE init (qmk#18394)
Browse files Browse the repository at this point in the history
Co-authored-by: Drashna Jaelre <drashna@live.com>
  • Loading branch information
daskygit and drashna committed Sep 17, 2022
1 parent fb29c0a commit db6a637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quantum/eeconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ void eeconfig_init_quantum(void) {
eeprom_update_byte(EECONFIG_DEFAULT_LAYER, 0);
default_layer_state = 0;
eeprom_update_byte(EECONFIG_KEYMAP_LOWER_BYTE, 0);
eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, 0xC);
// Enable oneshot and autocorrect by default: 0b0001 0100
eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, 0x14);
eeprom_update_byte(EECONFIG_MOUSEKEY_ACCEL, 0);
eeprom_update_byte(EECONFIG_BACKLIGHT, 0);
eeprom_update_byte(EECONFIG_AUDIO, 0xFF); // On by default
Expand Down

0 comments on commit db6a637

Please sign in to comment.