mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Add channel utilization to myNodeInfo
This commit is contained in:
@@ -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