Skip to content

Commit

Permalink
the c00e event seems not to be shutter button related, according to t…
Browse files Browse the repository at this point in the history
…icket:

#358
  • Loading branch information
msmeissn committed Jan 25, 2019
1 parent 0bce3fc commit 18bb1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camlibs/ptp2/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -5680,7 +5680,7 @@ camera_wait_for_event (Camera *camera, int timeout,
return GP_OK;
}
case PTP_EC_CANON_ShutterButtonPressed0:
case PTP_EC_CANON_ShutterButtonPressed1:
/*case PTP_EC_CANON_ShutterButtonPressed1: This seems to be sent without a press on S3 IS, likely some other event reason */
{
C_MEM (path = malloc(sizeof(CameraFilePath)));
ret = camera_canon_capture (camera, GP_CAPTURE_IMAGE, path, context);
Expand Down

0 comments on commit 18bb1e4

Please sign in to comment.