EOS 70D with OLC Version 8 has offset 6 for shutterspeed.

fixed https://github.com/gphoto/libgphoto2/issues/321
This commit is contained in:
Marcus Meissner
2018-10-30 17:26:53 +01:00
parent 9f803b776e
commit ce736e44fc

View File

@@ -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: