commit | e5509ce87b29f773b045200735bec2903b72eed4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 01 19:13:13 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 11 15:43:54 2023 -0400 |
tree | 3f3255299b7ebcd526701159bde7a4350ea1fca4 | |
parent | 8d997aab6e231aa3b442ffe504b24709ff9c7c19 [diff] |
cli: Create a function to process characters Move most of the inner loop from cread_line() into a new function. This will allow using it from other code. This involves adding a few more members to the state struct. Signed-off-by: Simon Glass <sjg@chromium.org>