Skip to content

Commit

Permalink
disable mode 300 check for more cameras
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Apr 21, 2024
1 parent 5b1f55e commit 0697bb0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions camlibs/ptp2/ptp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4691,8 +4691,10 @@ has_sony_mode_300(PTPParams *params) {
// if (!strcmp(params->deviceinfo.Model, "ILCE-7C")) return 1;
if (!strcmp(params->deviceinfo.Model, "ILCE-9M2")) return 1;
if (!strcmp(params->deviceinfo.Model, "ILCE-1")) return 1;
if (!strcmp(params->deviceinfo.Model, "ILCE-7M4")) return 1;
if (!strcmp(params->deviceinfo.Model, "ILCE-7RM5")) return 1;
/* https://github.com/gphoto/libgphoto2/issues/937#issuecomment-2014097435 */
//if (!strcmp(params->deviceinfo.Model, "ILCE-7M4")) return 1;
/*https://github.com/gphoto/libgphoto2/issues/937#issuecomment-2014097435 */
//if (!strcmp(params->deviceinfo.Model, "ILCE-7RM5")) return 1;
if (!strcmp(params->deviceinfo.Model, "ZV-E1")) return 1;
// TODO add other mode 300 camera models
return 0;
Expand Down

0 comments on commit 0697bb0

Please sign in to comment.