WindhoverLabs / airliner

7 stars 3 forks source link

CI App didn't execute the function, CI_IngestCommands() when SB recv timed out #275

Open ynielson opened 1 year ago

ynielson commented 1 year ago

When the RcvMsg from SchPipe(The function, CI_RcvMsg()) timed out, the app should execute CI_ProcessNewCmds(), CI_ReportHousekeeping() and CI_IngestCommands(). But the app didn't execute CI_IngestCommands(), due to the flag, CI_AppData.HkTlm.IngestActive, is not TRUE, which should be enabled by default in CI_InitApp(). The flag, CI_AppData.HkTlm.IngestActive, is overwritten by the function, CI_InitData(). It is disabled in it. I am not sure if this is intended.