Parcourir la source

Fix problems with undefined inlines in debug mode

Fred Sundvik il y a 8 ans
Parent
commit
6a76192fa4
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      tmk_core/common/action_util.c

+ 4 - 0
tmk_core/common/action_util.c

@@ -43,6 +43,10 @@ static int8_t cb_count = 0;
 //report_keyboard_t keyboard_report = {};
 report_keyboard_t *keyboard_report = &(report_keyboard_t){};
 
+extern inline void add_key(uint8_t key);
+extern inline void del_key(uint8_t key);
+extern inline void clear_keys(void);
+
 #ifndef NO_ACTION_ONESHOT
 static int8_t oneshot_mods = 0;
 static int8_t oneshot_locked_mods = 0;