We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca43c1 commit 28c5c00Copy full SHA for 28c5c00
NetworkIOMeter.c
@@ -111,9 +111,6 @@ static void NetworkIOMeter_updateValues(Meter* this) {
111
112
this->values[0] = cached_rxb_diff;
113
this->values[1] = cached_txb_diff;
114
- if (cached_rxb_diff + cached_txb_diff > this->total) {
115
- this->total = cached_rxb_diff + cached_txb_diff;
116
- }
117
118
if (status == RATESTATUS_NODATA) {
119
xSnprintf(this->txtBuffer, sizeof(this->txtBuffer), "no data");
@@ -172,7 +169,7 @@ const MeterClass NetworkIOMeter_class = {
172
169
.supportedModes = METERMODE_DEFAULT_SUPPORTED,
173
170
.maxItems = 2,
174
171
.isPercentChart = false,
175
- .total = 100.0,
+ .total = 1.0,
176
.attributes = NetworkIOMeter_attributes,
177
.name = "NetworkIO",
178
.uiName = "Network IO",
0 commit comments