* 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:
Marcus Meissner
2003-02-11 18:05:20 +00:00
parent 97c46af2ff
commit 518883ab76

View File

@@ -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);
}