Skip to content

Commit

Permalink
ignore missing 0xd207 property on Fuji XT-2 without firmware update
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Jun 19, 2017
1 parent 85b0b23 commit 472a946
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions camlibs/ptp2/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@ camera_prepare_capture (Camera *camera, GPContext *context)
{
PTPPropertyValue propval;

/* without the firmware update ... not an error... */
if (!have_prop (camera, PTP_VENDOR_FUJI, 0xd207))
return GP_OK;

propval.u16 = 0x0002;
C_PTP (ptp_setdevicepropvalue (params, 0xd207, &propval, PTP_DTC_UINT16));
return GP_OK;
Expand Down

0 comments on commit 472a946

Please sign in to comment.