We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db279a4 commit c5f3eb8Copy full SHA for c5f3eb8
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");
@@ -171,7 +168,7 @@ const MeterClass NetworkIOMeter_class = {
171
168
.defaultMode = TEXT_METERMODE,
172
169
.maxItems = 2,
173
170
.isPercentChart = false,
174
- .total = 100.0,
+ .total = 1.0,
175
.attributes = NetworkIOMeter_attributes,
176
.name = "NetworkIO",
177
.uiName = "Network IO",
0 commit comments