diff --git a/HelloWorldDeployment/Top/HelloWorldDeploymentTopology.cpp b/HelloWorldDeployment/Top/HelloWorldDeploymentTopology.cpp index 8edac16..8dfc510 100644 --- a/HelloWorldDeployment/Top/HelloWorldDeploymentTopology.cpp +++ b/HelloWorldDeployment/Top/HelloWorldDeploymentTopology.cpp @@ -31,7 +31,7 @@ Svc::FprimeFraming framing; Svc::FprimeDeframing deframing; // 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. @@ -81,7 +81,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));