浏览代码

Fix problems with undefined inlines in debug mode

Fred Sundvik 8 年之前
父节点
当前提交
6a76192fa4
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;