diff options
author | Sharvil Nanavati <sharvil@google.com> | 2015-03-02 14:56:24 -0800 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-03-16 16:51:42 -0700 |
commit | c0a87fe60f79ddf41595a30e75a77f43c19cd323 (patch) | |
tree | 64646dc0a847f5500d97720f24c659ea7e3605d6 /include | |
parent | 4c33920131301cc3452996f4d6285db381fd7d69 (diff) | |
download | android_system_bt-c0a87fe60f79ddf41595a30e75a77f43c19cd323.tar.gz android_system_bt-c0a87fe60f79ddf41595a30e75a77f43c19cd323.tar.bz2 android_system_bt-c0a87fe60f79ddf41595a30e75a77f43c19cd323.zip |
Remove GKI timers
Diffstat (limited to 'include')
-rw-r--r-- | include/gki_target.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/include/gki_target.h b/include/gki_target.h index 860b0ea46..be0eae030 100644 --- a/include/gki_target.h +++ b/include/gki_target.h @@ -46,61 +46,6 @@ /****************************************************************************** ** -** Timer configuration -** -******************************************************************************/ - -/* The number of GKI timers in the software system. */ -#ifndef GKI_NUM_TIMERS -#define GKI_NUM_TIMERS 4 -#endif - -/* A conversion value for translating ticks to calculate GKI timer. */ -#ifndef TICKS_PER_SEC -#define TICKS_PER_SEC 100 -#endif - -/************************************************************************ -** Utility macros converting ticks to time with user define OS ticks per sec -**/ -#ifndef GKI_MS_TO_TICKS -#define GKI_MS_TO_TICKS(x) ((x) / (1000 / TICKS_PER_SEC)) -#endif - -#ifndef GKI_SECS_TO_TICKS -#define GKI_SECS_TO_TICKS(x) ((x) * (TICKS_PER_SEC)) -#endif - -#ifndef GKI_TICKS_TO_MS -#define GKI_TICKS_TO_MS(x) ((x) * 1000 / TICKS_PER_SEC) -#endif - -#ifndef GKI_TICKS_TO_SECS -#define GKI_TICKS_TO_SECS(x) ((x) / TICKS_PER_SEC) -#endif - - - -/* TICK per second from OS (OS dependent change this macro accordingly to various OS) */ -#ifndef OS_TICKS_PER_SEC -#define OS_TICKS_PER_SEC 1000 -#endif - -/************************************************************************ -** Utility macros converting ticks to time with user define OS ticks per sec -**/ - -#ifndef GKI_OS_TICKS_TO_MS -#define GKI_OS_TICKS_TO_MS(x) ((x) * 1000 / OS_TICKS_PER_SEC) -#endif - - -#ifndef GKI_OS_TICKS_TO_SECS -#define GKI_OS_TICKS_TO_SECS(x) ((x) / OS_TICKS_PER_SEC)) -#endif - -/****************************************************************************** -** ** Buffer configuration ** ******************************************************************************/ |