Commit 75e43ee
committed
Fix Phase Detector trigger channel always returning 0
Phase Detector was setting trigger channel to 0 despite the channel selector interface showing correct channel as selected. Changed the way how `param` value was fetched. Before it was simply converting the `var` value to `int` and then using that as local index. Now, it fetches the `param` value as an `array`, then gets the first value of that `array` (since max selecetable channels is 1) and uses that as local index.1 parent 1e0f9db commit 75e43ee
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
| |||
0 commit comments