From c430c2434260f167f5b8c221be8054210fa8b977 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Thu, 29 Jun 2023 13:17:12 +0200 Subject: [PATCH] Fix #7 wrong byte order for RollPitchYaw --- simplebgc/src/payload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplebgc/src/payload.rs b/simplebgc/src/payload.rs index 41589a3..59966cb 100644 --- a/simplebgc/src/payload.rs +++ b/simplebgc/src/payload.rs @@ -74,7 +74,7 @@ impl Payload for i16 { where Self: Sized, { - Ok(b.get_i16()) + Ok(b.get_i16_le()) } fn to_bytes(&self) -> Bytes