1
0
forked from fsfw/fsfw

CSB fifo depth configurable

This commit is contained in:
2020-10-05 22:47:32 +02:00
parent c17d50bd1e
commit 8c43c6993e
4 changed files with 9 additions and 7 deletions

View File

@ -13,6 +13,8 @@
#include "../container/FIFO.h"
#include "../serialize/SerializeIF.h"
#include <FSFWConfig.h>
class TcPacketStored;
namespace Factory{
@ -40,7 +42,7 @@ class CommandingServiceBase: public SystemObject,
friend void (Factory::setStaticFrameworkObjectIds)();
public:
// We could make this configurable via preprocessor and the FSFWConfig file.
static constexpr uint8_t COMMAND_INFO_FIFO_DEPTH = 3;
static constexpr uint8_t COMMAND_INFO_FIFO_DEPTH = FSFW_CSB_FIFO_DEPTH;
static const uint8_t INTERFACE_ID = CLASS_ID::COMMAND_SERVICE_BASE;