Skip to content

Commit 936e74d

Browse files
committed
NetworkIOMeter: add "Graph2" meter mode support
1 parent b544e39 commit 936e74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetworkIOMeter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const MeterClass NetworkIOMeter_class = {
166166
},
167167
.updateValues = NetworkIOMeter_updateValues,
168168
.defaultMode = TEXT_METERMODE,
169-
.supportedModes = METERMODE_DEFAULT_SUPPORTED,
169+
.supportedModes = METERMODE_DEFAULT_SUPPORTED | (1 << GRAPH2_METERMODE),
170170
.maxItems = 2,
171171
.isPercentChart = false,
172172
.total = 1.0,

0 commit comments

Comments
 (0)