Skip to content
Commit 6f6f8bc9 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Benjamin Cabé
Browse files

mgmt: ec_host_cmd: uart: improve error handling



Add an array with the states names and use it while logging an error
messages.

Additionally unify the error message format. Do not add
"UART HOST CMD ERROR", because the LOG_ERR macro already informs that
it is an error message.

Signed-off-by: default avatarDawid Niedzwiecki <dawidn@google.com>
parent fa4ffc23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment