diff options
author | Denis Brockus <dbrockus@chromium.org> | 2019-08-27 09:11:35 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-19 17:16:23 +0000 |
commit | d71c268f773fd485e4126b1ea184d7da34d9543f (patch) | |
tree | fa76f73f0f1e149fd8841a1463307d19bd2c2697 /test | |
parent | 4be44b7a0b036e6a27d4588f71761cd499e56e4e (diff) | |
download | chrome-ec-d71c268f773fd485e4126b1ea184d7da34d9543f.tar.gz |
pd: Chunked TX State Machine changes
Comment when TCH states are embedded.
TCH_Message_Sent and TCH_Report_Error states were redundantly
implemented inline. I added these states so it would match
the spec more closely.
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: Ib911aa8ac99be5eb0372e55b658a0542c02596fd
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1773132
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/usb_prl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/usb_prl.c b/test/usb_prl.c index 0bbcb1412d..d1cbaf5a94 100644 --- a/test/usb_prl.c +++ b/test/usb_prl.c @@ -61,6 +61,8 @@ enum usb_tch_state { TCH_SENDING_CHUNKED_MESSAGE, TCH_WAIT_CHUNK_REQUEST, TCH_MESSAGE_RECEIVED, + TCH_MESSAGE_SENT, + TCH_REPORT_ERROR, }; /* Defined in implementation */ |