Now the error behavior for set_v and set_i is well-defined by the documentation: they print nothing on success and an error message on failure. The range of valid values is now [0, 20000] for set_v and [0, 5000] for set_i, matching the voltages and currents that can be provided by USB Power Delivery. Bumped version number to 1.0.1, reflecting this bugfix.
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 |
|
|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
|
||
152 | 152 |
|
153 | 153 |
|
154 | 154 |
|
155 |
|
|
155 |
|
|
156 |
|
|
156 | 157 |
|
157 | 158 |
|
158 | 159 |
|
|
||
161 | 162 |
|
162 | 163 |
|
163 | 164 |
|
164 |
|
|
165 |
|
|
166 |
|
|
165 | 167 |
|
166 | 168 |
|
167 | 169 |
|
|
||
256 | 256 |
|
257 | 257 |
|
258 | 258 |
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
259 | 271 |
|
260 | 272 |
|
|
||
198 | 198 |
|
199 | 199 |
|
200 | 200 |
|
201 |
|
|
201 |
|
|
202 | 202 |
|
203 | 203 |
|
204 | 204 |
|
|
||
216 | 216 |
|
217 | 217 |
|
218 | 218 |
|
219 |
|
|
219 |
|
|
220 | 220 |
|
221 | 221 |
|
222 | 222 |
|
|
||
189 | 189 |
|
190 | 190 |
|
191 | 191 |
|
192 |
|
|
192 |
|
|
193 | 193 |
|
194 | 194 |
|
195 | 195 |
|