From fdc1ed1a18b12a70f512be6f6b95d0b309024aff Mon Sep 17 00:00:00 2001 From: skliper <47541139+skliper@users.noreply.github.com> Date: Mon, 29 Jun 2020 16:11:04 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 922fcf6..58baae0 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ To change the list of packets that sch_lab sends out, edit the schedule table lo - Minor updates (see ) -### _**OFFICIAL RELEASE: 2.3.0**_ +### _**OFFICIAL RELEASE: 2.3.0 - Aquila**_ - Minor updates (see ) - Not backwards compatible with OSAL 4.2.1 From ca95abce704f4e6389fb2b1b8505bde00f8c1550 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Thu, 23 Jul 2020 17:19:18 -0400 Subject: [PATCH 2/2] Fix #44, Update table comments/instructions --- fsw/src/sch_lab_table.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/fsw/src/sch_lab_table.c b/fsw/src/sch_lab_table.c index 05602ba..7de9a94 100644 --- a/fsw/src/sch_lab_table.c +++ b/fsw/src/sch_lab_table.c @@ -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 */ @@ -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 }};