mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Currently, 'ectool usbpd' shows PD task state in numerical format. Every time we add/remove a state, the number changes, and this makes the command difficult to use. Modify the command to print the name of the PD task state. BRANCH=Samus,Ryu BUG=chrome-os-partner:34296 TEST=Run 'ectool usbpd 0' with different combination of new/old PD firmware and new/old ectool. Change-Id: Ic0daa03e9f7565c1322166713c2cce3b7cb93a30 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/237623 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@chromium.org>