Now the call to fusb_get_typec_current is made in the policy engine, then passed to pdb_dpm_evaluate_typec_current. This is more consistent with pdb_dpm_evaluate_capability, improving the PD Buddy DPM API. That's right, I'm thinking about API design now for when I split the code into a library and application.
|
|
||
185 |
|
185 |
|
186 |
|
186 |
|
187 |
|
187 |
|
188 |
|
|
|
|
188 |
|
|
189 |
|
189 |
|
190 |
|
190 |
|
191 |
|
191 |
|
192 |
|
192 |
|
193 |
|
193 |
|
194 |
|
194 |
|
195 |
|
|
|
196 |
|
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
197 |
|
198 |
|
198 |
|
199 |
|
199 |
|
200 |
|
|
|
||
202 |
|
203 |
|
203 |
|
204 |
|
204 |
|
205 |
|
205 |
|
|
|
|
206 |
|
|
206 |
|
207 |
|
207 |
|
208 |
|
208 |
|
209 |
|
209 |
|
|
|
|
210 |
|
|
210 |
|
211 |
|
211 |
|
212 |
|
212 |
|
213 |
|
|
|
||
66 |
|
66 |
|
67 |
|
67 |
|
68 |
|
68 |
|
69 |
|
|
|
|
69 |
|
|
70 |
|
70 |
|
71 |
|
71 |
|
72 |
|
72 |
|
|
|
||
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
|
28 |
|
|
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
|
|
||
637 |
|
638 |
|
638 |
|
639 |
|
639 |
|
640 |
|
640 |
|
|
|
|
641 |
|
|
641 |
|
642 |
|
642 |
|
643 |
|
643 |
|
644 |
|