rLoopTeam / react-groundstation

4 stars 7 forks source link

[fix] Removed extra bytes from 16 and 32 bit conversion functions. Al… #49

Closed gordon13 closed 7 years ago

gordon13 commented 7 years ago

…so made little endian by default to match accelerometertestdata @piense I had to modify your parser to fix the issue @SafetyLok was seeing. I think the issue was due to typos. Too many bytes for a 16bit int etc. Conversion functions didn't error when given too many bytes. Ive added checks now, but it might be worth reworking them so the code is cleaner at some point