Skip to content

Commit

Permalink
Fix CUAir#7 wrong byte order for RollPitchYaw<i16>
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepSOIC committed Jun 29, 2023
1 parent ae9c72b commit c430c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplebgc/src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c430c24

Please sign in to comment.