mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
if CONFIG_SCHED_TICKLESS is defined, then the global variable g_system_timer does not exist.
This commit is contained in:
parent
a1ae9d36df
commit
aaafcfd688
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/********************************************************************************
|
||||
* sched/clock_internal.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -80,7 +80,9 @@ extern struct timespec g_basetime;
|
|||
********************************************************************************/
|
||||
|
||||
void weak_function clock_initialize(void);
|
||||
#ifndef CONFIG_SCHED_TICKLESS
|
||||
void weak_function clock_timer(void);
|
||||
#endif
|
||||
|
||||
int clock_abstime2ticks(clockid_t clockid,
|
||||
FAR const struct timespec *abstime,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue