This commit is contained in:
rusefi 2018-12-16 01:13:44 -05:00
parent f9d8c37cda
commit 00a7f26ef9
4 changed files with 8 additions and 6 deletions

View File

@ -49,6 +49,8 @@
*/
#define EFI_WAVE_ANALYZER TRUE
#define EFI_ICU_INPUTS TRUE
/**
* TunerStudio support.
*/

View File

@ -28,7 +28,7 @@
#include "mpu_util.h"
#include "fl_stack.h"
#if EFI_WAVE_ANALYZER || defined(__DOXYGEN__)
#if EFI_ICU_INPUTS || defined(__DOXYGEN__)
#include "eficonsole.h"
#include "pin_repository.h"
@ -272,4 +272,4 @@ void startInputDriver(digital_input_s *hw, bool isActiveHigh) {
hw->started = true;
}
#endif /* EFI_WAVE_ANALYZER */
#endif /* EFI_ICU_INPUTS */

View File

@ -5,8 +5,8 @@
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#ifndef WAVE_ANALYZER_HW_H_
#define WAVE_ANALYZER_HW_H_
#ifndef DIGITAL_INPUT_HW_H_
#define DIGITAL_INPUT_HW_H_
#include "global.h"
@ -34,4 +34,4 @@ icuchannel_t getInputCaptureChannel(brain_pin_e hwPin);
#endif
#endif /* WAVE_ANALYZER_HW_H_ */
#endif /* DIGITAL_INPUT_HW_H_ */

View File

@ -3,7 +3,7 @@
* @brief Position sensor hardware layer
*
* todo: code reuse with digital_input_hw.cpp was never finished
* todo: at the moment due to half-done code reuse we depend on EFI_WAVE_ANALYZER which makes no sense, need to finish this refactoring
* todo: at the moment due to half-done code reuse we already depend on EFI_ICU_INPUTS but still have custom code
* todo: VVT implementation is a nasty copy-paste :(
*
* see digital_input_hw.cp