summaryrefslogtreecommitdiff
path: root/camlibs/ptp2/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/ptp2/library.c')
-rw-r--r--camlibs/ptp2/library.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index 2b6a0aaaf..f4402ac93 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -4813,6 +4813,7 @@ camera_olympus_omd_capture (Camera *camera, CameraCaptureType type, CameraFilePa
while (ptp_get_one_event(params, &event)) {
switch (event.Code) {
case 0xc002:
+ case PTP_EC_OLYMPUS_ObjectAdded: /* seen in newer traces, https://github.com/gphoto/gphoto2/issues/310 */
case PTP_EC_ObjectAdded:
newobject = event.Param1;
goto downloadfile;