Commit d6e9a5ac182667de0c1d75a962583c9e1b565f1f

Adrian Port 2013-10-30T19:54:26

Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/hf_protocol.h b/hf_protocol.h
index 8170797..387c284 100644
--- a/hf_protocol.h
+++ b/hf_protocol.h
@@ -46,7 +46,7 @@
 #define GN_DIE_TEMPERATURE(a)           ((((float)(a)*240)/4096.0)-61.5)
 
 // The sequence distance between a sent and received sequence number.
-#define SEQUENCE_DISTANCE(tx,rx)        ((tx)>=(rx)?((tx)-(rx)):(info->num_sequence+(tx)-(rx)))
+#define HF_SEQUENCE_DISTANCE(tx,rx)        ((tx)>=(rx)?((tx)-(rx)):(info->num_sequence+(tx)-(rx)))
 
 // Values the protocol field in the above structure may take
 #define PROTOCOL_USB_MAPPED_SERIAL      0