diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-10-27 16:43:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-10-27 16:43:41 +0000 |
commit | 58587ee0c2e89de39dd1b531443cff91e9aad12d (patch) | |
tree | a176a0863b9daa05033fcd263d003d386dabca6a /bits.h | |
parent | f8e265f53368b6f667a695e73d1e82707307b1e5 (diff) | |
download | gpsd-58587ee0c2e89de39dd1b531443cff91e9aad12d.tar.gz |
Correct an erroneous comment.
Diffstat (limited to 'bits.h')
-rw-r--r-- | bits.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,9 +3,12 @@ * bits.h - extract binary data from message buffer * * These macros extract bytes, words, longwords, floats or doubles from - * a message that contains these items in MSB-first byte order. - * By defining the GET_ORIGIN and PUT_ORIGIN macros, it's possible to - * change the origin of the indexing. + * a message that contains these items in either MSB-first or LSB-first + * byte order. To specify which, define one of LITTLE_ENDIAN_PROTOCOL + * or BIG_ENDIAN_PROTOCOL before including this header. + * + * By defining the GET_ORIGIN and PUT_ORIGIN macros before including + * this header, it's possible to change the origin of the indexing. * * Assumptions: * char is 8 bits, short is 16 bits, int is 32 bits, long long is 64 bits, |