diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2020-05-10 16:46:28 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2020-05-10 16:46:28 +0200 |
commit | 1b47949c1ead9de994970ada7f8109e1b6b94486 (patch) | |
tree | 347db38299ed776e055c1fda8ac2a5f3bf574e15 | |
parent | cdb3db4273181d1697fe76436010e81cc5415f98 (diff) | |
download | libgphoto2-1b47949c1ead9de994970ada7f8109e1b6b94486.tar.gz |
added availableshots for nikon
-rw-r--r-- | camlibs/ptp2/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index cbf59cd37..96d4dd417 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -8413,6 +8413,7 @@ static struct submenu camera_status_menu[] = { { N_("Serial Number"), "eosserialnumber", PTP_DPC_CANON_EOS_SerialNumber, PTP_VENDOR_CANON, PTP_DTC_STR, _get_STR, _put_None }, { N_("Shutter Counter"), "shuttercounter", PTP_DPC_CANON_EOS_ShutterCounter, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_INT, _put_None }, { N_("Available Shots"), "availableshots", PTP_DPC_CANON_EOS_AvailableShots, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_INT, _put_None }, + { N_("Available Shots"), "availableshots", PTP_DPC_NIKON_ExposureRemaining, PTP_VENDOR_NIKON, PTP_DTC_UINT32, _get_INT, _put_None }, { N_("Focal Length Minimum"), "minfocallength", PTP_DPC_NIKON_FocalLengthMin, PTP_VENDOR_NIKON, PTP_DTC_UINT32, _get_Nikon_FocalLength, _put_None }, { N_("Focal Length Maximum"), "maxfocallength", PTP_DPC_NIKON_FocalLengthMax, PTP_VENDOR_NIKON, PTP_DTC_UINT32, _get_Nikon_FocalLength, _put_None }, { N_("Maximum Aperture at Focal Length Minimum"), "apertureatminfocallength", PTP_DPC_NIKON_MaxApAtMinFocalLength, PTP_VENDOR_NIKON, PTP_DTC_UINT16, _get_Nikon_ApertureAtFocalLength, _put_None }, |