diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2022-04-19 21:35:23 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-21 04:58:57 +0000 |
commit | a3fb072a96f21453e9e09cea028d1b7bdb0cbf8c (patch) | |
tree | 72a57e014ed30aa1e7b97613c26043e721c7f377 /include | |
parent | 7f9c2475d6c3d32c827b2dea0509a35ff4e08ba8 (diff) | |
download | chrome-ec-a3fb072a96f21453e9e09cea028d1b7bdb0cbf8c.tar.gz |
PCHG: Fix state names in the state machine diagram
We've renamed CONNECTED to DOCKED. This patch makes the diagram match
the change.
BUG=None
BRANCH=None
TEST=None
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I5bed261f46bdb8d29bb4bcb39618df932d1d51de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3595284
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/peripheral_charger.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/peripheral_charger.h b/include/peripheral_charger.h index 7edff74a4a..09f6fd1ea6 100644 --- a/include/peripheral_charger.h +++ b/include/peripheral_charger.h @@ -47,16 +47,16 @@ * v | | * +--------+------+ | * +------------->| ENABLED | | - * | +-----+-+-------+ | - * | | | | - * | DEVICE_CONNECTED | | DEVICE_DOCKED | - * | | v | - * | DEVICE_LOST +---------------+ | - * +--------------+ DOCKED +---------------+ - * | +-------+-------+ | - * | | | | - * | | | DEVICE_CONNECTED | - * | v v | + * | +-----+------+--+ | + * | | | | + * | DEVICE_DETECTED | | DEVICE_CONNECTED | + * | v | | + * | DEVICE_LOST +----------+ | | + * +--------------+ DETECTED +-|------------------+ + * | +-----+----+ | ERROR | + * | | | | + * | DEVICE_CONNECTED| | | + * | v v | * | +---------------+ | * +--------------+ CONNECTED +---------------+ * | DEVICE_LOST +------+--------+ ERROR | @@ -69,7 +69,7 @@ * DEVICE_LOST +---------------+ ERROR * * - * In download (update firmware) mode, the state machine transitions as follows: + * In download (firmware update) mode, the state machine transitions as follows: * * +---------------+ * | DOWNLOAD | |