Dasky 3 年之前
父节点
当前提交
9af069ecf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tmk_core/protocol/lufa/lufa.c

+ 1 - 1
tmk_core/protocol/lufa/lufa.c

@@ -312,7 +312,7 @@ static void Console_Task(void) {
 void send_joystick_packet(joystick_t *joystick) {
     uint8_t timeout = 255;
 
-    static joystick_report_t;
+    static joystick_report_t r;
     r = (joystick_report_t) {
 #    if JOYSTICK_AXES_COUNT > 0
         .axes =