Browse Source

Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()

Adrian Port 12 years ago
parent
commit
d6e9a5ac18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hf_protocol.h

+ 1 - 1
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