Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with CFE_PLATFORM_TIME_CFG_SRC_TIME == true #2072

Closed
skliper opened this issue Mar 24, 2022 · 0 comments · Fixed by #2073 or #2074
Closed

Build failure with CFE_PLATFORM_TIME_CFG_SRC_TIME == true #2072

skliper opened this issue Mar 24, 2022 · 0 comments · Fixed by #2073 or #2074

Comments

@skliper
Copy link
Contributor

skliper commented Mar 24, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant