diff options
author | Ryan Stout <ryanstout@gmail.com> | 2019-10-12 18:03:28 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2019-10-12 18:03:28 +0200 |
commit | bcd86bab811a0ca0ae907f8ed3b592e050a53c46 (patch) | |
tree | 2faa7a6c4a259a4d025d73d2744e4278eead95a0 /camlibs/ptp2/ptp.c | |
parent | 970f769c1b71f8f411be8bcc3307267d25e2c3c7 (diff) | |
download | libgphoto2-bcd86bab811a0ca0ae907f8ed3b592e050a53c46.tar.gz |
Fuji set focus point
(partially)
Diffstat (limited to 'camlibs/ptp2/ptp.c')
-rw-r--r-- | camlibs/ptp2/ptp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c index a095d7023..90fc6b338 100644 --- a/camlibs/ptp2/ptp.c +++ b/camlibs/ptp2/ptp.c @@ -4975,7 +4975,7 @@ ptp_fuji_getevents (PTPParams* params, uint16_t** events, uint16_t* count) { param = dtoh16a(&data[2 + 6 * i]); value = dtoh32a(&data[2 + 6 * i + 2]); - *events[i] = param; + (*events)[i] = param; ptp_debug(params, "param: %02x, value: %d ", param, value); } } @@ -5814,6 +5814,7 @@ ptp_get_property_description(PTPParams* params, uint16_t dpc) {PTP_DPC_FUJI_Quality, N_("AE Lock")}, /* 0xD213 */ {PTP_DPC_FUJI_Quality, N_("Aperture")}, /* 0xD218 */ {PTP_DPC_FUJI_Quality, N_("Shutter Speed")}, /* 0xD219 */ + {PTP_DPC_FUJI_FocusPoint, N_("Focus Point")}, /* 0xD347 */ {0,NULL} }; |