diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2011-04-04 08:55:32 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2011-04-04 08:55:32 +0000 |
commit | dfc4fc4ecdb267de2d8ac3f8f55208d53978f1c5 (patch) | |
tree | 586c00080dd494b68cce8e48b6352077895d1154 | |
parent | cf7e903cfa27bd6fb3bb959270d480663c09b61b (diff) | |
download | libgphoto2-dfc4fc4ecdb267de2d8ac3f8f55208d53978f1c5.tar.gz |
fixed enum
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@13596 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp2/ptp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/ptp2/ptp.h b/camlibs/ptp2/ptp.h index 30ca5ebba..478855786 100644 --- a/camlibs/ptp2/ptp.h +++ b/camlibs/ptp2/ptp.h @@ -2743,7 +2743,7 @@ uint16_t ptp_add_object_to_cache(PTPParams *params, uint32_t handle); /* ptpip.c */ void ptp_nikon_getptpipguid (unsigned char* guid); -enum { +enum PTP_CHDK_Command { PTP_CHDK_Shutdown = 0, // param2 is 0 (hard), 1 (soft), 2 (reboot) or 3 (reboot fw update) // if param2 == 3, then filename of fw update is send as data (empty for default) PTP_CHDK_GetMemory, // param2 is base address (or 0 for live image buffer, 1 for bitmap buffer) @@ -2774,7 +2774,7 @@ enum { PTP_CHDK_StartDownloadFile, PTP_CHDK_ResumeDownloadFile, PTP_CHDK_EndDownloadFile, -} PTP_CHDK_Command; +}; #define PTP_OC_CHDK 0x9999 typedef struct tagptp_chdk_videosettings { |