diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2017-03-15 16:55:41 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2017-03-15 16:55:41 +0100 |
commit | c8a91a5e0ed4406c3f37985e1b55c919c13a8d33 (patch) | |
tree | b4d5e72beb1a267015f873b6046368388d6aeed6 | |
parent | 0045ca28d355c58ab74fd08734fd94ac9f9dc180 (diff) | |
download | libgphoto2-c8a91a5e0ed4406c3f37985e1b55c919c13a8d33.tar.gz |
added pentax k50d id
https://github.com/gphoto/libgphoto2/issues/31
-rw-r--r-- | camlibs/pentax/library.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camlibs/pentax/library.c b/camlibs/pentax/library.c index 33622051f..c9e41529d 100644 --- a/camlibs/pentax/library.c +++ b/camlibs/pentax/library.c @@ -104,6 +104,12 @@ camera_abilities (CameraAbilitiesList *list) if (GP_OK != (ret = gp_abilities_list_append (list, a))) return ret; + strcpy (a.model, "Pentax:K50D"); + // same usb vendor like Pentax K5D + a.usb_product = 0x0160; + if (GP_OK != (ret = gp_abilities_list_append (list, a))) + return ret; + strcpy (a.model, "Pentax:K30"); // same usb vendor like Pentax K5D a.usb_product = 0x0132; |