Commit 35aec6c
committed
Fix add_ports()
When multiple where added to a hub via add_ports(first, last) only
last-1 ports were created. This is now fixed.
Also the function arguments were renamed to `first_port` and
`last_port`
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>1 parent 1320613 commit 35aec6c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments