nasa / LC

The Core Flight System (cFS) Limit Checker (LC) application.
Apache License 2.0
30 stars 21 forks source link

Support platform-endian byte order in WDT #7

Open skliper opened 2 years ago

skliper commented 2 years ago

LC should support numerical telemetry data types that are platform-endian. While it would be possible to get the same effect with an #if macro block, it would make the table very hard to read.

Imported from GSFCCFS-770

skliper commented 2 years ago

I think the concern here is only _BE and _LE LC_DATA types are defined. It's possible for the tlm byte order to be platform defined, in which case it would be more portable to just use the native representation.