Config cleanups (#2347)
* Remove duplication * Ports: STM32F7: we want PAL_USE_CALLBACKS for F7 too
This commit is contained in:
parent
7562de4f10
commit
f1785fee11
|
@ -113,10 +113,6 @@
|
||||||
#define HAL_TRIGGER_USE_PAL FALSE
|
#define HAL_TRIGGER_USE_PAL FALSE
|
||||||
#endif /* HAL_TRIGGER_USE_PAL */
|
#endif /* HAL_TRIGGER_USE_PAL */
|
||||||
|
|
||||||
#ifndef HAL_TRIGGER_USE_PAL
|
|
||||||
#define HAL_TRIGGER_USE_PAL FALSE
|
|
||||||
#endif /* HAL_TRIGGER_USE_PAL */
|
|
||||||
|
|
||||||
#ifndef HAL_TRIGGER_USE_ADC
|
#ifndef HAL_TRIGGER_USE_ADC
|
||||||
#define HAL_TRIGGER_USE_ADC FALSE
|
#define HAL_TRIGGER_USE_ADC FALSE
|
||||||
#endif /* HAL_TRIGGER_USE_ADC */
|
#endif /* HAL_TRIGGER_USE_ADC */
|
||||||
|
|
|
@ -47,6 +47,15 @@
|
||||||
#define HAL_USE_PAL TRUE
|
#define HAL_USE_PAL TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(PAL_USE_WAIT) || defined(__DOXYGEN__)
|
||||||
|
#define PAL_USE_WAIT FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// rusEfi uses callback for PAL input capture
|
||||||
|
#if !defined(PAL_USE_CALLBACKS) || defined(__DOXYGEN__)
|
||||||
|
#define PAL_USE_CALLBACKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the ADC subsystem.
|
* @brief Enables the ADC subsystem.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue