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: Dawid Niedzwiecki <dawidn@google.com> |
||
|---|---|---|
| .. | ||
| backends | ||
| CMakeLists.txt | ||
| ec_host_cmd_handler.c | ||
| Kconfig | ||
| Kconfig.logging | ||