Don't try to count non-lora transmissions into airtime (or attempt to decode) (#5215)

* Don't try to count non-lora transmissions into airtime (or attempt to decode)

* Don't need to check utilization anymore
This commit is contained in:
Ben Meadors
2024-11-01 13:20:11 -05:00
committed by GitHub
parent 8462d65f76
commit a1ac358b0a
2 files changed
+7 -6

No files matched your search

+1 -3
View File
@@ -121,9 +121,7 @@ Will be used for broadcast.
*/
int32_t NeighborInfoModule::runOnce()
{
if (airTime->isTxAllowedChannelUtil(true) && airTime->isTxAllowedAirUtil()) {
sendNeighborInfo(NODENUM_BROADCAST_NO_LORA, false);
}
sendNeighborInfo(NODENUM_BROADCAST_NO_LORA, false);
return Default::getConfiguredOrDefaultMs(moduleConfig.neighbor_info.update_interval, default_neighbor_info_broadcast_secs);
}