Commit 9743ed8
committed
NetworkPowerPort: make index optional (default 0)
Smart plugs and similar single-port network-controlled devices shouldn't
require the exporter config to include the 'index' argument. Make it
optional by including a default of 0 in NetworkPowerPort.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>1 parent f179d3c commit 9743ed8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments