nasa / cFE

The Core Flight System (cFS) Core Flight Executive (cFE)
Apache License 2.0
402 stars 198 forks source link

Fix #2543, consistent TIME values for TBL structures #2544

Closed jphickey closed 3 months ago

jphickey commented 3 months ago

Checklist (Please check before submitting)

Describe the contribution Use the CFE_TIME_SysTime_t type more consistently across TBL where time is being stored. Avoid using seconds/subseconds directly.

This also adds an initializer value for CFE_TIME_SysTime_t that has seconds/subseconds as zero.

Fixes #2543

Testing performed Build and sanity check CFE, run all tests and workflows

Expected behavior changes In general, nothing -- but some external tools might get tripped on the fact that the two uint32 values in TLM is now a sub-struct (CFE_TIME_SysTime_t) instead of being expressed directly as 2 uint32 values.

System(s) tested on Debian

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.