diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2019-10-12 18:18:14 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2019-10-12 18:18:14 +0200 |
commit | 7cb065e66b9e083ab2de8f78399e7cb80e31be7c (patch) | |
tree | 1620b6dd96a2000be36d60c5c499fe4035dd218e /camlibs | |
parent | bcd86bab811a0ca0ae907f8ed3b592e050a53c46 (diff) | |
download | libgphoto2-7cb065e66b9e083ab2de8f78399e7cb80e31be7c.tar.gz |
coment fuji init like timelapse does
Diffstat (limited to 'camlibs')
-rw-r--r-- | camlibs/ptp2/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index c34063e77..c2b528185 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -488,6 +488,11 @@ camera_prepare_capture (Camera *camera, GPContext *context) if (!have_prop (camera, PTP_VENDOR_FUJI, 0xd207)) return GP_OK; + /* timelapse does: + * d38c -> 1 (PC Mode) + * d207 -> 2 (USB control) + */ + propval.u16 = 0x0002; LOG_ON_PTP_E (ptp_setdevicepropvalue (params, 0xd207, &propval, PTP_DTC_UINT16)); return GP_OK; |