Skip to content

Build failure with CFE_PLATFORM_TIME_CFG_SRC_TIME == true #2072

@skliper

Description

@skliper

Describe the bug
Build failures when enabling time source configuration.

/cfe/modules/time/fsw/src/cfe_time_tone.c:570:61: error: ‘CFE_TIME_ToneDataCmd_t {aka struct CFE_TIME_ToneDataCmd}’ has no member named ‘CmdHeader’; did you mean ‘CommandHeader’?
             CFE_SB_TransmitMsg(&CFE_TIME_Global.ToneDataCmd.CmdHeader.Msg, false);

To Reproduce

  • Set CFE_PLATFORM_TIME_CFG_SOURCE true
  • Set CFE_PLATFORM_TIME_CFG_SRC_TIME true
  • Set CFE_MISSION_TIME_CFG_FAKE_TONE false

Expected behavior
Should build and run.

Code snips
See warning above, note 3 instances of the old reference.

System observed on:

  • Hardware: i5/wsl
  • OS: Ubuntu 18.04
  • Versions: Bundle main

Additional context
None

Reporter Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions