Merge branch 'contrib/github_pr_17926_v5.5' into 'release/v5.5'

fix:Report the full buffer length to the UAC stack by setting bytes_r… (GitHub PR) (v5.5)

See merge request espressif/esp-idf!45130
This commit is contained in:
morris
2026-01-15 16:13:42 +08:00
@@ -236,6 +236,11 @@ static esp_err_t usb_uac_device_input_cb(uint8_t *buf, size_t len, size_t *bytes
return ESP_FAIL;
}
/* Report full-length data for UAC */
if (bytes_read) {
*bytes_read = len;
}
return ESP_OK;
}