Previously, we didn't make use of the voltage range when checking a Type-C Current advertisement. That was bad, since if e.g. we want 6 V, with the range 5-7 V, we could get the power we want from Type-C Current. This commit makes the firmware test if the configured voltage range contains 5 V, and if it does, allows use of Type-C Current.
|
|
||
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
21 |
|
|
22 |
|
|
|
23 |
|
|
22 |
|
24 |
|
23 |
|
25 |
|
24 |
|
26 |
|
|
|
||
193 |
|
195 |
|
194 |
|
196 |
|
195 |
|
197 |
|
196 |
|
|
|
|
198 |
|
|
197 |
|
199 |
|
198 |
|
200 |
|
199 |
|
201 |
|
|
|
||
340 |
|
340 |
|
341 |
|
341 |
|
342 |
|
342 |
|
343 |
|
|
|
344 |
|
|
|
|
343 |
|
|
|
344 |
|
|
345 |
|
345 |
|
346 |
|
346 |
|
347 |
|
347 |
|
348 |
|
348 |
|
349 |
|
349 |
|
350 |
|
|
|
|
350 |
|
|
351 |
|
351 |
|
352 |
|
352 |
|
353 |
|
353 |
|