mirror of
https://github.com/mavlink/mavlink-devguide.git
synced 2026-06-19 07:36:26 +00:00
remove howto endians
This commit is contained in:
@@ -12,12 +12,6 @@ It is primarily intended for developers who are creating/maintaining a MAVLink g
|
||||
This section shows the serialized message format of MAVLink packets (the format is inspired by the [CAN](https://en.wikipedia.org/wiki/CAN_bus) and SAE AS-4 standards).
|
||||
|
||||
Note that multi-byte fields are serialized in little-endian format, and MAVLink libraries are configured by default to run on little-endian hardware.
|
||||
You will need to specifically configure MAVLink if it is running on a system that is native big-endian.
|
||||
For the C library, this is done by defining `NATIVE_BIG_ENDIAN` (see [protocol.h](https://github.com/mavlink/c_library_v2/blob/master/protocol.h#L10)).
|
||||
|
||||
```c
|
||||
#ifdef NATIVE_BIG_ENDIAN
|
||||
```
|
||||
|
||||
### MAVLink 2 Packet Format {#mavlink2_packet_format}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user