Skip to content

Commit

Permalink
Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Port authored and ckolivas committed Oct 31, 2013
1 parent 065054f commit d6e9a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hf_protocol.h
Expand Up @@ -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
Expand Down

0 comments on commit d6e9a5a

Please sign in to comment.