nusb/ptp: increase payload

A silly little patch, but some ptp devices (like the camera I own) use USB3 endpoints and subsequently require the data size of the payload to be 1024(-12 for metadata). This is reflected in libgphoto2's current ptp driver.
This commit is contained in:
akw@oneirism.org 2022-06-30 01:58:01 +00:00 committed by Ori Bernstein
parent e6d31c1715
commit 6dbfe8c356

View file

@ -45,7 +45,7 @@ struct Ptprpc
uchar type[2]; uchar type[2];
uchar code[2]; uchar code[2];
uchar transid[4]; uchar transid[4];
uchar d[500]; uchar d[1012];
}; };
struct Node struct Node