summaryrefslogtreecommitdiff
path: root/camlibs
diff options
context:
space:
mode:
authorDaniel Schulte <trilader@schroedingers-bit.net>2021-04-22 15:49:42 +0200
committerMarcus Meissner <meissner@suse.de>2021-04-22 17:05:05 +0200
commitb7615e0cb36195021ea3927079f4cb6952f61b37 (patch)
treef5d1538f7031271162e66e1b7c6a4150e0834533 /camlibs
parentc04d99203c252178f0b17ae020e751e8cc14da5e (diff)
downloadlibgphoto2-b7615e0cb36195021ea3927079f4cb6952f61b37.tar.gz
camlibs/ptp2: fuji: Fix property datatype in camera_trigger_capture
Also replace usage of the DPC magic number with the define for it.
Diffstat (limited to 'camlibs')
-rw-r--r--camlibs/ptp2/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index 605442c7c..a7a1267ae 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -6361,7 +6361,7 @@ camera_trigger_capture (Camera *camera, GPContext *context)
/* poll camera until it is ready */
propval.u16 = 0x0000;
while (propval.u16 == 0x0000) {
- C_PTP_REP (ptp_getdevicepropvalue (params, 0xd212, &propval, PTP_DTC_UINT64));
+ C_PTP_REP (ptp_getdevicepropvalue (params, PTP_DPC_FUJI_CurrentState, &propval, PTP_DTC_UINT16));
}
}