aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-04 16:56:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-04 16:56:01 +0000
commit2de96c4c5776fe2c029b6b6ee543f13a07585107 (patch)
tree35bd14b2106a0d65e381b69a5d3cab6050996942 /os/hal
parente0c20340f0b9664d5e5d15c840db97fc119be757 (diff)
downloadChibiOS-2de96c4c5776fe2c029b6b6ee543f13a07585107.tar.gz
ChibiOS-2de96c4c5776fe2c029b6b6ee543f13a07585107.tar.bz2
ChibiOS-2de96c4c5776fe2c029b6b6ee543f13a07585107.zip
Better a KISS approach.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2790 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/include/gpt.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/os/hal/include/gpt.h b/os/hal/include/gpt.h
index d4063cd6c..c1ce72edf 100644
--- a/os/hal/include/gpt.h
+++ b/os/hal/include/gpt.h
@@ -38,22 +38,10 @@
/* Driver pre-compile time settings. */
/*===========================================================================*/
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(GPT_USE_WAIT) || defined(__DOXYGEN__)
-#define GPT_USE_WAIT TRUE
-#endif
-
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
-#if GPT_USE_WAIT && !CH_USE_SEMAPHORES
-#error "GPT driver requires CH_USE_SEMAPHORES when GPT_USE_WAIT is enabled"
-#endif
-
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
@@ -93,9 +81,6 @@ extern "C" {
void gptStopTimer(GPTDriver *gptp);
void gptStopTimerI(GPTDriver *gptp);
void gptPolledDelay(GPTDriver *gptp, gptcnt_t interval);
-#if GPT_USE_WAIT
- void gptDelay(GPTDriver *gptp, gptcnt_t interval);
-#endif
#ifdef __cplusplus
}
#endif