Interval or default

pull/2266/head
Ben Meadors 2023-02-08 18:04:21 -06:00
rodzic 1c3970efab
commit bcaf834853
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -71,5 +71,5 @@ int32_t NodeInfoModule::runOnce()
sendOurNodeInfo(NODENUM_BROADCAST, requestReplies); // Send our info (don't request replies)
}
return default_broadcast_interval_secs * 1000;
return getConfiguredOrDefaultMs(config.device.node_info_broadcast_secs, default_broadcast_interval_secs);
}