- Timestamp:
- Sep 2, 2006, 6:07:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTIGS/rtigs.cpp
r93 r97 47 47 unsigned short xx; 48 48 memcpy( (void*) &xx, &_buffer.data()[ii], sizeof(xx) ); 49 SwitchBytes( (char*) &xx, sizeof(xx) ); 49 if (_GPSTrans.f_IsLittleEndian) { 50 SwitchBytes( (char*) &xx, sizeof(xx) ); 51 } 50 52 if (xx == 200) { 51 53 _buffer = _buffer.mid(ii); … … 54 56 } 55 57 } 58 56 59 if (! found) { 57 60 _buffer.clear();
Note:
See TracChangeset
for help on using the changeset viewer.