console - Fix whitespace issues.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/3ea48819 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/3ea48819 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/3ea48819 Branch: refs/heads/sterly_refactor Commit: 3ea488197b461ad586fb0002338e3c9abd6f18ec Parents: 18298ea Author: Christopher Collins <[email protected]> Authored: Mon Aug 1 14:41:00 2016 -0700 Committer: Sterling Hughes <[email protected]> Committed: Tue Aug 9 16:05:21 2016 -0700 ---------------------------------------------------------------------- libs/console/full/src/cons_tty.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3ea48819/libs/console/full/src/cons_tty.c ---------------------------------------------------------------------- diff --git a/libs/console/full/src/cons_tty.c b/libs/console/full/src/cons_tty.c index fb2015c..9c576e2 100644 --- a/libs/console/full/src/cons_tty.c +++ b/libs/console/full/src/cons_tty.c @@ -203,13 +203,13 @@ console_read(char *str, int cnt, int *newline) break; } - if ((i & (CONSOLE_RX_CHUNK - 1)) == (CONSOLE_RX_CHUNK - 1)) { - /* - * Make a break from blocking interrupts during the copy. - */ - OS_EXIT_CRITICAL(sr); - OS_ENTER_CRITICAL(sr); - } + if ((i & (CONSOLE_RX_CHUNK - 1)) == (CONSOLE_RX_CHUNK - 1)) { + /* + * Make a break from blocking interrupts during the copy. + */ + OS_EXIT_CRITICAL(sr); + OS_ENTER_CRITICAL(sr); + } ch = console_pull_char(cr); if (ch == '\n') {
