* update libpax
* fix interval init
This commit is contained in:
Thomas Göttgens
2024-11-24 14:28:36 +01:00
committed by GitHub
parent 932966b896
commit ad9d7a4972
2 changed files with 4 additions and 2 deletions

View File

@@ -95,7 +95,9 @@ int32_t PaxcounterModule::runOnce()
// internal processing initialization
libpax_counter_init(handlePaxCounterReportRequest, &count_from_libpax,
moduleConfig.paxcounter.paxcounter_update_interval, 0);
Default::getConfiguredOrDefault(moduleConfig.paxcounter.paxcounter_update_interval,
default_telemetry_broadcast_interval_secs),
0);
libpax_counter_start();
} else {
sendInfo(NODENUM_BROADCAST);