This commit adds support for the new, yet-to-be-released typec_virtual PDO reported from the firmware. This was done by adding a TypeCVirtualPDO class, code to load them from text, and support for them in the calculation functions. New tests have been written for all the new code as well.
|
|
||
381 |
|
381 |
|
382 |
|
382 |
|
383 |
|
383 |
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
384 |
|
402 |
|
385 |
|
403 |
|
386 |
|
404 |
|
|
|
||
427 |
|
445 |
|
428 |
|
446 |
|
429 |
|
447 |
|
|
448 |
|
|
|
449 |
|
|
|
450 |
|
|
|
451 |
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
|
456 |
|
|
|
457 |
|
|
|
458 |
|
|
430 |
|
459 |
|
431 |
|
460 |
|
432 |
|
461 |
|
|
|
||
468 |
|
497 |
|
469 |
|
498 |
|
470 |
|
499 |
|
|
500 |
|
|
|
501 |
|
|
471 |
|
502 |
|
472 |
|
503 |
|
473 |
|
504 |
|
|
|
||
482 |
|
513 |
|
483 |
|
514 |
|
484 |
|
515 |
|
|
516 |
|
|
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
|
520 |
|
|
|
521 |
|
|
|
522 |
|
|
485 |
|
523 |
|
486 |
|
524 |
|
487 |
|
525 |
|
|
|
||
277 |
|
277 |
|
278 |
|
278 |
|
279 |
|
279 |
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
|
|
280 |
|
289 |
|
281 |
|
290 |
|
282 |
|
291 |
|
|
|
||
286 |
|
295 |
|
287 |
|
296 |
|
288 |
|
297 |
|
|
298 |
|
|
289 |
|
299 |
|
290 |
|
300 |
|
291 |
|
301 |
|
|
|
||
319 |
|
329 |
|
320 |
|
330 |
|
321 |
|
331 |
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
322 |
|
337 |
|
323 |
|
338 |
|
324 |
|
339 |
|
|
|
||
333 |
|
348 |
|
334 |
|
349 |
|
335 |
|
350 |
|
|
351 |
|
|
336 |
|
352 |
|
337 |
|
353 |
|
338 |
|
354 |
|
|
|
||
350 |
|
366 |
|
351 |
|
367 |
|
352 |
|
368 |
|
353 |
|
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
354 |
|
372 |
|
355 |
|
373 |
|
356 |
|
374 |
|
357 |
|
375 |
|
358 |
|
376 |
|
359 |
|
377 |
|
|
378 |
|
|
360 |
|
379 |
|
361 |
|
380 |
|
362 |
|
381 |
|
|
|
||
382 |
|
401 |
|
383 |
|
402 |
|
384 |
|
403 |
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
385 |
|
408 |
|
386 |
|
409 |
|
387 |
|
410 |
|
|
|
||
411 |
|
434 |
|
412 |
|
435 |
|
413 |
|
436 |
|
|
437 |
|
|
414 |
|
438 |
|
415 |
|
439 |
|
416 |
|
440 |
|