mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 02:51:26 +00:00
8a909ba35dc9f7787d489ffa4c6567169f10fbb4
tcpm_get_cc() returns TYPEC_CC_VOLT_*, not TYPEC_CC_*. Check for RP rather than non-open to match USB-C spec (Table B-2 Rp/Rp Charging Current Values for a DTS Source). BUG=chromium:775542 BRANCH=servo TEST=Verify donette and guppy are not detected as DTS, verify suzy-qable is detected as DTS, on kevin DUT. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I0ff5550e9171ff86b42b489525044bf63827240c Reviewed-on: https://chromium-review.googlesource.com/733220 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%