From a31368f6726da22aa310bda2c17691129b520b4b Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Sun, 9 Dec 2001 04:24:23 +0000 Subject: [PATCH] unknown is actually version and 3 reserved bytes status is called result in the specs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3465 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/digita/digita.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/camlibs/digita/digita.h b/camlibs/digita/digita.h index ce546da3e..0a51c23b7 100644 --- a/camlibs/digita/digita.h +++ b/camlibs/digita/digita.h @@ -59,9 +59,10 @@ /* Digita protocol primitives */ struct digita_command { unsigned int length; - unsigned int unknown; + unsigned char version; + unsigned char reserved[3]; unsigned short command; - unsigned short status; + unsigned short result; }; struct partial_tag {