git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12771 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2010-03-14 22:07:22 +00:00
parent 7c9370ac0e
commit 46b6bee7c6

View File

@@ -203,7 +203,11 @@ camera_canon_eos_update_capture_target(Camera *camera, GPContext *context, int v
if (ct_val.u32 == PTP_CANON_EOS_CAPTUREDEST_HD) {
/* if we want to download the image from the device, we need to tell the camera
* that we have enough space left. */
/* this might be a trigger value for "no space" -Marcus
ret = ptp_canon_eos_pchddcapacity(params, 0x7fffffff, 0x00001000, 0x00000001);
*/
ret = ptp_canon_eos_pchddcapacity(params, 0x04ffffff, 0x00001000, 0x00000001);
if (ret != PTP_RC_OK) {
gp_log (GP_LOG_ERROR,"camera_canon_eos_update_capture_target", "ptp_canon_eos_pchddcapacity failed!");
return GP_ERROR;