diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-29 23:23:34 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2016-10-01 03:13:54 +0000 |
commit | b94fa83a4cc82d3a5203e3e117b1dc2453fca726 (patch) | |
tree | 6342c1403db0e992e331130c79b665697ff6b86f /common/device_state.c | |
parent | 08e8310a8765b20c6ad9ad7968f63c4decc06007 (diff) | |
download | chrome-ec-b94fa83a4cc82d3a5203e3e117b1dc2453fca726.tar.gz |
Cr50: The devices command is safe.
All it does is show the AP/EC/Servo state
BUG=chrome-os-partner:57408
BRANCH=none
TEST=make buildall; try on Gru with and without CR50_DEV=1
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: I375be8e4d9c6f01aa90d0830da1927732740ed92
Reviewed-on: https://chromium-review.googlesource.com/391611
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common/device_state.c')
-rw-r--r-- | common/device_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/device_state.c b/common/device_state.c index 17c32a7054..ee82846b84 100644 --- a/common/device_state.c +++ b/common/device_state.c @@ -48,6 +48,6 @@ static int command_devices(int argc, char **argv) return EC_SUCCESS; } -DECLARE_CONSOLE_COMMAND(devices, command_devices, - "", - "Get the device states"); +DECLARE_SAFE_CONSOLE_COMMAND(devices, command_devices, + "", + "Get the device states"); |