From 4480bc0e16ff642fd1abc26ac334df9541f7800a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 12 Jan 2019 19:31:45 +0100 Subject: [PATCH] only change the remote mode in config.c --- camlibs/ptp2/library.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index ccab5136b..d57c62b1d 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -8424,7 +8424,9 @@ camera_init (Camera *camera, GPContext *context) if (is_canon_eos_m(params)) { int mode = 0x15; /* default for EOS M and newer Powershot SX */ + /* according to reporter only needed in config.c part if (!strcmp(params->deviceinfo.Model,"Canon PowerShot G5 X")) mode = 0x11; + */ C_PTP (ptp_canon_eos_setremotemode(params, mode)); /* Setting remote mode changes device info on EOS M2, so have to reget it */