Forráskód Böngészése

Required overridden function for keymaps in EEPROM

Wilba6582 8 éve
szülő
commit
baae936b47
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      quantum/keymap_common.c

+ 1 - 0
quantum/keymap_common.c

@@ -169,6 +169,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
 }
 
 // translates key to keycode
+__attribute__ ((weak))
 uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
 {
     // Read entire word (16bits)