mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-17 09:01:30 +10:00
Add channel utilization to myNodeInfo
This commit is contained in:
+4
-1
@@ -133,7 +133,10 @@ int32_t AirTime::runOnce()
|
||||
this->channelUtilization[utilPeriod] = 0;
|
||||
}
|
||||
|
||||
DEBUG_MSG("Channel Utilization percent %3.1f\n", airTime->channelUtilizationPercent());
|
||||
// Update channel_utilization every second.
|
||||
myNodeInfo.channel_utilization = airTime->channelUtilizationPercent();
|
||||
|
||||
//DEBUG_MSG("Channel Utilization percent %3.1f\n", airTime->channelUtilizationPercent());
|
||||
}
|
||||
|
||||
return (1000 * 1);
|
||||
|
||||
Reference in New Issue
Block a user