diff --git a/MathDeployment/Top/MathDeploymentTopology.cpp b/MathDeployment/Top/MathDeploymentTopology.cpp index 8b3e837..68f8578 100644 --- a/MathDeployment/Top/MathDeploymentTopology.cpp +++ b/MathDeployment/Top/MathDeploymentTopology.cpp @@ -33,7 +33,7 @@ Svc::FprimeDeframing deframing; Svc::ComQueue::QueueConfigurationTable configurationTable; // The reference topology divides the incoming clock signal (1Hz) into sub-signals: 1Hz, 1/2Hz, and 1/4Hz -NATIVE_INT_TYPE rateGroupDivisors[Svc::RateGroupDriver::DIVIDER_SIZE] = {1, 2, 4}; +Svc::RateGroupDriver::DividerSet rateGroupDivisors = {{{1, 0}, {2, 0}, {4, 0}}}; // Rate groups may supply a context token to each of the attached children whose purpose is set by the project. The // reference topology sets each token to zero as these contexts are unused in this project. @@ -88,7 +88,7 @@ void configureTopology() { cmdSeq.allocateBuffer(0, mallocator, CMD_SEQ_BUFFER_SIZE); // Rate group driver needs a divisor list - rateGroupDriver.configure(rateGroupDivisors, FW_NUM_ARRAY_ELEMENTS(rateGroupDivisors)); + rateGroupDriver.configure(rateGroupDivisors); // Rate groups require context arrays. rateGroup1.configure(rateGroup1Context, FW_NUM_ARRAY_ELEMENTS(rateGroup1Context));