position plugin - only send if channel utilization is <50 percent

This commit is contained in:
Jm Casler
2022-01-26 22:32:33 -08:00
parent d26549c7c2
commit e4608e0a10
2 changed files with 55 additions and 37 deletions

View File

@@ -78,7 +78,7 @@ int32_t RangeTestPlugin::runOnce()
if (airTime->channelUtilizationPercent() < 25) {
rangeTestPluginRadio->sendPayload();
} else {
DEBUG_MSG("rangeTest - Channel utilization is too high. Skipping this opportunity to send and will retry later.\n");
DEBUG_MSG("rangeTest - Channel utilization is >25 percent. Skipping this opportunity to send.\n");
}
return (senderHeartbeat);