Commit 9685880
authored
pdo: Fix lower bound check in access by index (canopen-python#628)
The extended access patterns by communication parameter record index
only work for TPDOs. The lower bound check on the number range
excludes anything below 0x1600, thus RPDO communication parameters do
not work.
Extend test to cover access via 0x1400 and 0x1600 yielding the same
object.1 parent db9110e commit 9685880
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments