From 6d7787f0a110f74dce09b47a02ff07b7f332cfdf Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 23 Jul 2022 10:52:37 +0200 Subject: [PATCH] use the same flags for the 1500D and 2000D, fixes https://github.com/gphoto/libgphoto2/issues/812 --- camlibs/ptp2/library.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index d61c06592..386b4916c 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -2451,10 +2451,9 @@ static struct { {"Canon:EOS R", 0x04a9, 0x32da, PTP_CAP|PTP_CAP_PREVIEW|PTP_DONT_CLOSE_SESSION}, /* Christian Muehlhaeuser */ - {"Canon:EOS 2000D", 0x04a9, 0x32e1, PTP_CAP|PTP_CAP_PREVIEW|PTPBUG_DELETE_SENDS_EVENT}, - + {"Canon:EOS 2000D", 0x04a9, 0x32e1, PTP_CAP|PTP_CAP_PREVIEW|PTP_DONT_CLOSE_SESSION|PTPBUG_DELETE_SENDS_EVENT}, /* https://github.com/gphoto/gphoto2/issues/247, from logfile */ - {"Canon:EOS 1500D", 0x04a9, 0x32e1, PTP_CAP|PTP_CAP_PREVIEW|PTP_DONT_CLOSE_SESSION}, + {"Canon:EOS 1500D", 0x04a9, 0x32e1, PTP_CAP|PTP_CAP_PREVIEW|PTP_DONT_CLOSE_SESSION|PTPBUG_DELETE_SENDS_EVENT}, /* from Enno at SUSE */ {"Canon:EOS RP", 0x04a9, 0x32e2, PTP_CAP|PTP_CAP_PREVIEW|PTP_DONT_CLOSE_SESSION},