Files
OpenCellular/chip/g
Randall Spangler b0891c9450 cr50: Let state machines print their own states
Add a function to translate device_state enum into a string, then use
it for printing the ec and RDD state.

Refactor ec_state so that all state transitions go through a
set_state() function, which makes it easier to turn on debugging all
state transitions.  That's normally not compiled in because it would
be spammy during debouncing.

BUG=none
BRANCH=cr50
TEST=ccd command prints EC and RDD states

Change-Id: Ie7bc56c7b66beee23d1d1989711c640e5e39ce43
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/642121
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
2017-08-29 19:37:05 -07:00
..
2017-08-04 18:08:16 -07:00
2016-04-29 16:07:13 -07:00
2017-08-17 01:56:48 -07:00
2016-11-04 18:31:44 -07:00
2017-05-16 13:37:03 -07:00
2016-02-01 21:17:22 +00:00
2017-06-16 17:24:28 -07:00
2016-11-04 18:31:44 -07:00
2017-05-12 03:25:39 -07:00
2017-03-10 08:34:22 -08:00
2016-07-13 19:09:19 -07:00
2017-08-01 13:01:41 -07:00
2017-08-01 13:01:41 -07:00
2017-06-16 17:24:28 -07:00
2017-05-12 03:25:39 -07:00
2017-03-16 11:25:50 -07:00
2015-04-02 20:27:46 +00:00
2016-10-22 00:01:02 +00:00
2017-07-28 22:07:57 -07:00
2017-07-28 22:07:57 -07:00
2017-03-16 11:25:50 -07:00
2017-08-17 20:41:56 -07:00