summaryrefslogtreecommitdiff
path: root/camlibs/sonydscf55
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2006-11-19 20:33:47 +0000
committerMarcus Meissner <marcus@jet.franken.de>2006-11-19 20:33:47 +0000
commitef314c66b6e8a5230ab14334ce1bd4d2e734190e (patch)
tree7ea765eadd9e153cf313542929bd98e2afb16bce /camlibs/sonydscf55
parent0c20a0c777e3cd34955372b5ecf7432ecc3366e8 (diff)
downloadlibgphoto2-ef314c66b6e8a5230ab14334ce1bd4d2e734190e.tar.gz
some statics
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9430 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf55')
-rw-r--r--camlibs/sonydscf55/sony.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/camlibs/sonydscf55/sony.c b/camlibs/sonydscf55/sony.c
index 42ef88b50..215b443f9 100644
--- a/camlibs/sonydscf55/sony.c
+++ b/camlibs/sonydscf55/sony.c
@@ -44,17 +44,14 @@
#define SONY_END_CHAR 0xc1
-static unsigned char START_PACKET = 192;
-static unsigned char END_PACKET = 193;
+static const unsigned char START_PACKET = 192;
+static const unsigned char END_PACKET = 193;
-static char ESC_START_STRING[] = { 0x7d, 0xe0 };
-static char ESC_END_STRING[] = { 0x7d, 0xe1 };
-static char ESC_ESC_STRING[] = { 0x7d, 0x5d };
+static const char ESC_START_STRING[] = { 0x7d, 0xe0 };
+static const char ESC_END_STRING[] = { 0x7d, 0xe1 };
+static const char ESC_ESC_STRING[] = { 0x7d, 0x5d };
-static unsigned char PacketCodes[2] = { 192, 193 };
-
-Packet CameraInvalid = { 0, 2, {131, 125}, 93 };
-Packet ResendPacket = { 0, 4, {129, 2, '1', 0}, 'L' };
+static const unsigned char PacketCodes[2] = { 192, 193 };
#if defined(USE_ALL_TYPES)