diff options
author | Namyoon Woo <namyoon@google.com> | 2021-04-21 10:31:34 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-21 22:16:57 +0000 |
commit | 4f0b979b36f02c7e8cbb8438a7f4e9f83cbf5d3e (patch) | |
tree | 76287a09c8570d1676cb739c94bcde4dea673b26 /board | |
parent | d4cb504dc0e329d2f9714a47f295c7ed8b76b527 (diff) | |
download | chrome-ec-4f0b979b36f02c7e8cbb8438a7f4e9f83cbf5d3e.tar.gz |
ccdstate: add 'KeepAlive' line in output
BUG=b:186004390
TEST=checked 'ccdstate' output in Octopus:
> ccdstate
AP: on
AP UART: on
EC: on
Servo: undetectable
Rdd: connected
KeepAlive: disabled
CCD EXT: enabled
State flags: UARTAP+TX UARTEC+TX I2C SPI USBEC+TX
CCD ports blocked: (none)
>
>
> rddkeepalive true
Forcing Rdd detect keepalive
>
>
> ccdstate
AP: off
AP UART: off
EC: on
Servo: undetectable
Rdd: connected
KeepAlive: enabled
CCD EXT: enabled
State flags: UARTEC+TX I2C SPI USBEC+TX
CCD ports blocked: (none)
>
> rddkeepalive
Rdd: connected
KeepAlive: enabled
>
> rddkeepalive false
Using actual Rdd state
>
> rddkeepalive
Rdd: connected
KeepAlive: disabled
Signed-off-by: Namyoon Woo <namyoon@google.com>
Change-Id: Ib0517a62ddd97f334cc62530abdb8fe612ac998c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2844339
Tested-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cr50/rdd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/rdd.c b/board/cr50/rdd.c index 228f076831..9ef0624313 100644 --- a/board/cr50/rdd.c +++ b/board/cr50/rdd.c @@ -462,8 +462,8 @@ static int command_ccd_state(int argc, char **argv) print_ap_state(); print_ap_uart_state(); print_ec_state(); - print_rdd_state(); print_servo_state(); + print_rdd_state(); ccprintf("CCD EXT: %s\n", ccd_ext_is_enabled() ? "enabled" : "disabled"); |