nasa / bplib

Apache License 2.0
30 stars 13 forks source link

cFE OS module needs to handle different epochs #19

Closed jpswinski closed 4 years ago

jpswinski commented 5 years ago

The cFE OS module currently only handles the UNIX epoch. It needs to be updated to use system defines to determine which epoch it should use.

jpswinski commented 4 years ago

The define BP_CFE_SECS_AT_2000 is used by the os module to handle different epochs. It is in a ifndef block so that it can be overridden at compile time.