Skip to content

Commit

Permalink
Fix nasa#44, Update table comments/instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jul 23, 2020
1 parent fdc1ed1 commit ca95abc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions fsw/src/sch_lab_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
/*
** SCH Lab schedule table
** When populating this table:
** 1. Make sure the table is terminated by the SCH_LAB_END_OF_TABLE entry
** 2. You can have commented out entries, but a zero MID will terminate the table processing,
** skipping the remaining entries.
** 1. The entire table is processed (SCH_LAB_MAX_SCHEDULE_ENTRIES) but entries with a
** packet rate of 0 are skipped
** 2. You can have commented out entries or entries with a packet rate of 0
** 3. If the table grows too big, increase SCH_LAB_MAX_SCHEDULE_ENTRIES
*/

Expand All @@ -43,12 +43,12 @@ SCH_LAB_ScheduleTable_t SCH_TBL_Structure = {.Config = {
{CFE_SB_MSGID_WRAP_VALUE(TO_LAB_SEND_HK_MID), 4},
{CFE_SB_MSGID_WRAP_VALUE(SAMPLE_APP_SEND_HK_MID), 4},
#if 0
{ SC_SEND_HK_MID, 4, 0 },
{ SC_1HZ_WAKEUP_MID, 1, 0 }, /* Example of a 1hz packet */
{ HS_SEND_HK_MID, 4, 0 },
{ FM_SEND_HK_MID, 4, 0 },
{ DS_SEND_HK_MID, 4, 0 },
{ LC_SEND_HK_MID, 4, 0 },
{CFE_SB_MSGID_WRAP_VALUE(SC_SEND_HK_MID), 4},
{CFE_SB_MSGID_WRAP_VALUE(SC_1HZ_WAKEUP_MID), 1}, /* Example of a 1hz packet */
{CFE_SB_MSGID_WRAP_VALUE(HS_SEND_HK_MID), 0}, /* Example of a message that wouldn't be sent */
{CFE_SB_MSGID_WRAP_VALUE(FM_SEND_HK_MID), 4},
{CFE_SB_MSGID_WRAP_VALUE(DS_SEND_HK_MID), 4},
{CFE_SB_MSGID_WRAP_VALUE(LC_SEND_HK_MID), 4},
#endif
}};

Expand Down

0 comments on commit ca95abc

Please sign in to comment.