default to sdram capture
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14719 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -3236,8 +3236,9 @@ camera_trigger_capture (Camera *camera, GPContext *context)
|
||||
|
||||
SET_CONTEXT_P(params, context);
|
||||
|
||||
strcpy (buf, "card");
|
||||
gp_setting_get("ptp2","capturetarget",buf);
|
||||
/* If there is no capturetarget set yet, the default is "sdram" */
|
||||
if (GP_OK != gp_setting_get("ptp2","capturetarget",buf))
|
||||
strcpy (buf, "sdram");
|
||||
|
||||
gp_log (GP_LOG_DEBUG, "ptp2/trigger_capture", "Triggering capture to %s", buf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user