From 06c2473c9f60c45e4388a4b31f6312f82f94d564 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Thu, 13 Jan 2022 16:55:17 -0500 Subject: [PATCH] Fix #178, remove throttle sem from default/example config Unless something actually instantiates this semaphore, this prevents CF from initializing correctly. With this, at least CF should start up with the out-of-box config. --- fsw/tables/cf_def_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsw/tables/cf_def_config.c b/fsw/tables/cf_def_config.c index 5590455f..264b70aa 100644 --- a/fsw/tables/cf_def_config.c +++ b/fsw/tables/cf_def_config.c @@ -39,7 +39,7 @@ CF_ConfigTable_t CF_config_table = { 0x08c2, 16, {{5, 25, CF_CFDP_CLASS_2, 23, "/cf/poll_dir", "./poll_dir", 0}, {0}, {0}, {0}, {0}}, - "cf_1_sem", + "", /* throttle sem for channel 1, empty string means no throttle */ 1, }, {5, /* max number of outgoing messages per wakeup */ @@ -48,7 +48,7 @@ CF_ConfigTable_t CF_config_table = { 0x08c3, 16, {{0}, {0}, {0}, {0}, {0}}, - "cf_2_sem", + "", /* throttle sem for channel 2, empty string means no throttle */ 1}}, 3, /* ack timer */ 3, /* nak timer */