max num scheduled TCS in cmake config now
This commit is contained in:
parent
f17612bd0e
commit
4bb9e9c996
@ -44,8 +44,11 @@ static const uint16_t COMMON_APID = 0xEF;
|
|||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
#include <fsfw/events/fwSubsystemIdRanges.h>
|
namespace cfg {
|
||||||
#include <fsfw/returnvalues/FwClassIds.h>
|
|
||||||
|
static constexpr uint32_t OBSW_MAX_SCHEDULED_TCS = @OBSW_MAX_SCHEDULED_TCS@;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ void ObjectFactory::produceGenericObjects() {
|
|||||||
new Service17Test(objects::PUS_SERVICE_17_TEST, apid::APID, pus::PUS_SERVICE_17);
|
new Service17Test(objects::PUS_SERVICE_17_TEST, apid::APID, pus::PUS_SERVICE_17);
|
||||||
new Service20ParameterManagement(objects::PUS_SERVICE_20_PARAMETERS, apid::APID,
|
new Service20ParameterManagement(objects::PUS_SERVICE_20_PARAMETERS, apid::APID,
|
||||||
pus::PUS_SERVICE_20);
|
pus::PUS_SERVICE_20);
|
||||||
new Service11TelecommandScheduling<100>(objects::PUS_SERVICE_11_TC_SCHEDULER, apid::APID,
|
new Service11TelecommandScheduling<cfg::OBSW_MAX_SCHEDULED_TCS>(objects::PUS_SERVICE_11_TC_SCHEDULER, apid::APID,
|
||||||
pus::PUS_SERVICE_11, ccsdsDistrib);
|
pus::PUS_SERVICE_11, ccsdsDistrib);
|
||||||
new CService200ModeCommanding(objects::PUS_SERVICE_200_MODE_MGMT, apid::APID,
|
new CService200ModeCommanding(objects::PUS_SERVICE_200_MODE_MGMT, apid::APID,
|
||||||
pus::PUS_SERVICE_200);
|
pus::PUS_SERVICE_200);
|
||||||
|
Loading…
Reference in New Issue
Block a user