progress
This commit is contained in:
parent
79b37036de
commit
8b039da84a
|
@ -49,6 +49,8 @@
|
|||
*/
|
||||
#define EFI_WAVE_ANALYZER TRUE
|
||||
|
||||
#define EFI_ICU_INPUTS TRUE
|
||||
|
||||
/**
|
||||
* TunerStudio support.
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue