Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 75d322055 -> 88356a0df
console; instead of poking libs/os var g_os_started, use the provided API call. 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/88356a0d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/88356a0d Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/88356a0d Branch: refs/heads/develop Commit: 88356a0df1811e5905588116f6c7cab62764e6ad Parents: 75d3220 Author: Marko Kiiskila <ma...@runtime.io> Authored: Thu Apr 21 12:58:16 2016 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Thu Apr 21 12:58:16 2016 -0700 ---------------------------------------------------------------------- libs/console/full/src/cons_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/88356a0d/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 b7320be..e7057a1 100644 --- a/libs/console/full/src/cons_tty.c +++ b/libs/console/full/src/cons_tty.c @@ -102,7 +102,7 @@ console_queue_char(char ch) /* TX needs to drain */ hal_uart_start_tx(CONSOLE_UART); OS_EXIT_CRITICAL(sr); - if (g_os_started) { + if (os_started()) { os_time_delay(1); } OS_ENTER_CRITICAL(sr);