ソースを参照

Clarify transient HID readiness handling

Co-authored-by: safijari <5191844+safijari@users.noreply.github.com>
copilot-swe-agent[bot] 1 週間 前
親
コミット
385142db7f
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      OpenPuck/puck_hid.cpp

+ 1 - 1
OpenPuck/puck_hid.cpp

@@ -1058,7 +1058,7 @@ void SteamPuckController::task()
 			last43[s] = millis();
 		}
 	}
-	// Reset edge state only when the slot or USB device goes away; ready() is transiently false while busy.
+	// Preserve connection edges while the endpoint is transiently busy.
 	for (int s = 0; s < NSLOT; s++)
 		if (!g_slot[s].used || !USBDevice.mounted())
 			usbConn[s] = false;