Repository: incubator-mynewt-larva Updated Branches: refs/heads/develop f4c430c48 -> 9ad54b8d7
This closes #8. I also committed a very minor change with this as something went wrong when I tried to amend the commit. All I did was remove the initialization of the global variable os_time to 0 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/9ad54b8d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/9ad54b8d Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/9ad54b8d Branch: refs/heads/develop Commit: 9ad54b8d7f6fef1cff43760fc89a8a33ef73af89 Parents: f4c430c Author: wes3 <w...@micosa.io> Authored: Thu Mar 3 15:11:55 2016 -0800 Committer: wes3 <w...@micosa.io> Committed: Thu Mar 3 15:11:55 2016 -0800 ---------------------------------------------------------------------- libs/os/src/os_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/9ad54b8d/libs/os/src/os_time.c ---------------------------------------------------------------------- diff --git a/libs/os/src/os_time.c b/libs/os/src/os_time.c index 28aaced..1b703e0 100644 --- a/libs/os/src/os_time.c +++ b/libs/os/src/os_time.c @@ -22,7 +22,7 @@ #define OS_USEC_PER_TICK (1000000 / OS_TICKS_PER_SEC) -os_time_t g_os_time = 0; +os_time_t g_os_time; /* * Time-of-day collateral.