Skip to content

Commit

Permalink
do not uilock around pcchdcpacity, as this breaks EOS 2000D/1500D for…
Browse files Browse the repository at this point in the history
… some reason
  • Loading branch information
msmeissn committed Sep 2, 2023
1 parent 6b3e29f commit affa72c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions camlibs/ptp2/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -5951,11 +5951,15 @@ camera_trigger_canon_eos_capture (Camera *camera, GPContext *context)
C_PTP (ptp_canon_eos_getdevicepropdesc (params, PTP_DPC_CANON_EOS_AvailableShots, &dpd));
if (dpd.CurrentValue.u32 < 100) {
/* Tell the camera we have enough free space on the PC */
#if 0
if (!params->uilocked)
ptp_canon_eos_setuilock(params);
#endif
LOG_ON_PTP_E (ptp_canon_eos_pchddcapacity(params, 0x0fffffff, 0x00001000, 0x00000001));
#if 0
if (!params->uilocked)
ptp_canon_eos_resetuilock(params);
#endif
}
}
}
Expand Down

0 comments on commit affa72c

Please sign in to comment.