API change: new arguments to time_manager_start()

This commit is contained in:
Cedric Roux
2025-04-18 09:05:39 +02:00
parent 4834d93006
commit b89b3abd13
7 changed files with 93 additions and 104 deletions
+6 -1
View File
@@ -143,7 +143,12 @@ int main(int argc, char **argv)
// start time manager with some reasonable default for the running mode
// (may be overwritten in configuration file or command line)
time_manager_start(TIME_MANAGER_GNB_CU, TIME_MANAGER_REALTIME);
void nr_pdcp_ms_tick(void);
time_manager_tick_function_t tick_functions[] = {
nr_pdcp_ms_tick
};
int tick_functions_count = 1;
time_manager_start(tick_functions, tick_functions_count, TIME_SOURCE_REALTIME);
// strdup to put the sring in the core file for post mortem identification
LOG_I(HW, "Version: %s\n", strdup(OAI_PACKAGE_VERSION));