You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/09/14 21:49:35 UTC
incubator-mynewt-core git commit: native uart;
use OS_TICKS_PER_SEC for delay.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop 1693f95a3 -> f7ecdb1fc
native uart; use OS_TICKS_PER_SEC for delay.
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/f7ecdb1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f7ecdb1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f7ecdb1f
Branch: refs/heads/develop
Commit: f7ecdb1fc51b9a3470d7c7742fe23c10a8fca100
Parents: 1693f95
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Sep 14 14:49:03 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Sep 14 14:49:03 2016 -0700
----------------------------------------------------------------------
hw/mcu/native/src/hal_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f7ecdb1f/hw/mcu/native/src/hal_uart.c
----------------------------------------------------------------------
diff --git a/hw/mcu/native/src/hal_uart.c b/hw/mcu/native/src/hal_uart.c
index 41afcc6..58f6b96 100644
--- a/hw/mcu/native/src/hal_uart.c
+++ b/hw/mcu/native/src/hal_uart.c
@@ -206,7 +206,7 @@ uart_poller(void *arg)
}
}
uart_log_data(NULL, 0, 0);
- os_time_delay(10);
+ os_time_delay(OS_TICKS_PER_SEC / 100);
}
}