summaryrefslogtreecommitdiff
path: root/lib/rt-thread
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <[email protected]>2025-12-10 06:34:21 +0000
committercopilot-swe-agent[bot] <[email protected]>2025-12-10 06:34:21 +0000
commit7e70f0b07cd3b52eecdfdd51d0360772f5ba7131 (patch)
treead58cc68a4d420a8cbfb4a2e8ffa7e2c0b684654 /lib/rt-thread
parentb30b62bd19242f29e13a81acb4f8ce4ae017d998 (diff)
Fix MTP transfer completion detection for exact-length packets
Change condition from `>` to `>=` to properly detect completion when xferred_len equals total_len. This fixes the bug where transfers of exactly bulk_mps length (e.g., 64 bytes for low speed) would never complete, such as GetHandles responses with 12 elements. Co-authored-by: hathach <[email protected]>
Diffstat (limited to 'lib/rt-thread')
0 files changed, 0 insertions, 0 deletions