From ce736e44fcf641bc562af47087b64d8ee9e6534f Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 30 Oct 2018 17:26:53 +0100 Subject: [PATCH] EOS 70D with OLC Version 8 has offset 6 for shutterspeed. fixed https://github.com/gphoto/libgphoto2/issues/321 --- camlibs/ptp2/ptp-pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camlibs/ptp2/ptp-pack.c b/camlibs/ptp2/ptp-pack.c index 5319525fc..007de01d9 100644 --- a/camlibs/ptp2/ptp-pack.c +++ b/camlibs/ptp2/ptp-pack.c @@ -2481,12 +2481,12 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, int datasize, ce[i].u.propid = proptype; /* hack to differ between older EOS and EOS 200D newer */ switch (olcver) { - case 0x8: case 0xf: curoff += 7; /* f (200D), 8 (M10) */ break; case 0x7: - case 0xb: + case 0x8: /* EOS 70D */ + case 0xb: /* EOS 5Ds */ curoff += 6; /* 7 , b (5ds) */ break; default: