summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'PICA_proto.h')
-rwxr-xr-xPICA_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index 9f71fd8..5062be9 100755
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -7,6 +7,10 @@
#define PICA_PROTO_VER_HIGH 0
#define PICA_PROTO_VER_LOW 3
+#define PICA_PROTO_VER_STRING PICA_STRINGIFY2(PICA_PROTO_VER_HIGH, PICA_PROTO_VER_LOW)
+#define PICA_STRINGIFY2(H, L) PICA_STRINGIFY(H, L)
+#define PICA_STRINGIFY(H, L) #H#L
+
#define PICA_PROTO_INITREQ 0xCA
#define PICA_PROTO_INITRESPOK 0x01
#define PICA_PROTO_VERDIFFER 0x02