shell: parsing output LF character

Some terminals literally interprets shell output data. Hence to print
a message in new line shell needs to send `\r\n` each time. To minimize
flash usage user can now send `\n` as a line delimiter and shell will
automatically add missing CR character.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2018-10-05 10:49:08 +02:00 committed by Carles Cufí
commit b0571746e2
7 changed files with 69 additions and 47 deletions

View file

@ -34,7 +34,6 @@ struct shell_fprintf {
struct shell_fprintf_control_block *ctrl_blk;
};
/**
* @brief Macro for defining shell_fprintf instance.
*