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:
parent
e6d31c1715
commit
6dbfe8c356
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ struct Ptprpc
|
|||
uchar type[2];
|
||||
uchar code[2];
|
||||
uchar transid[4];
|
||||
uchar d[500];
|
||||
uchar d[1012];
|
||||
};
|
||||
|
||||
struct Node
|
||||
|
|
Loading…
Reference in a new issue