* pdc640.c: reduced read size back to 1280, so serial cameras
work again. Tested against USB Only JD350v and Stylocam. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6198 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -385,9 +385,9 @@ pdc640_unknown20 (GPPort* port)
|
||||
static int
|
||||
pdc640_caminfo (GPPort *port, int *numpic)
|
||||
{
|
||||
char buf[1536];
|
||||
char buf[1280];
|
||||
|
||||
CHECK_RESULT (pdc640_transmit_packet (port, 0x40, buf, 1536));
|
||||
CHECK_RESULT (pdc640_transmit_packet (port, 0x40, buf, 1280));
|
||||
*numpic = buf[2]; /* thats the only useful info :( */
|
||||
return (GP_OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user