aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/gpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/gpt.h')
-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