diff options
Diffstat (limited to 'nuttx/sched/clock_settime.c')
-rw-r--r-- | nuttx/sched/clock_settime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/clock_settime.c b/nuttx/sched/clock_settime.c index da0d8f1aca..2af27acf1c 100644 --- a/nuttx/sched/clock_settime.c +++ b/nuttx/sched/clock_settime.c @@ -1,7 +1,7 @@ /************************************************************************ * sched/clock_settime.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -109,7 +109,7 @@ int clock_settime(clockid_t clock_id, const struct timespec *tp) * as appropriate. */ - g_tickbias = g_system_timer; + g_tickbias = clock_systimer(); sdbg("basetime=(%d,%d) tickbias=%d\n", (int)g_basetime.tv_sec, (int)g_basetime.tv_nsec, |