From 46b6bee7c6ffd1f9da2edbae02a49fe35ea486f7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 14 Mar 2010 22:07:22 +0000 Subject: [PATCH] testing git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12771 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ptp2/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index b19ba230f..7affd2b20 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -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;