basic hw in the loop - pwm self validation #2028
This commit is contained in:
parent
1c6b53658e
commit
824f87c2d0
|
@ -216,4 +216,12 @@ void initTriggerEmulator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
|
||||||
initTriggerEmulatorLogic(sharedLogger);
|
initTriggerEmulatorLogic(sharedLogger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void startTriggerEmulatorPins() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void stopTriggerEmulatorPins() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* EFI_EMULATE_POSITION_SENSORS */
|
#endif /* EFI_EMULATE_POSITION_SENSORS */
|
||||||
|
|
|
@ -14,6 +14,8 @@ class PwmConfig;
|
||||||
class MultiChannelStateSequence;
|
class MultiChannelStateSequence;
|
||||||
|
|
||||||
void initTriggerEmulator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
void initTriggerEmulator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
void startTriggerEmulatorPins();
|
||||||
|
void stopTriggerEmulatorPins();
|
||||||
void setTriggerEmulatorRPM(int value DECLARE_ENGINE_PARAMETER_SUFFIX);
|
void setTriggerEmulatorRPM(int value DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
void onConfigurationChangeRpmEmulatorCallback(engine_configuration_s *previousConfiguration);
|
void onConfigurationChangeRpmEmulatorCallback(engine_configuration_s *previousConfiguration);
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
#include "aux_pid.h"
|
#include "aux_pid.h"
|
||||||
#include "perf_trace.h"
|
#include "perf_trace.h"
|
||||||
|
#include "trigger_emulator_algo.h"
|
||||||
#include "boost_control.h"
|
#include "boost_control.h"
|
||||||
#include "software_knock.h"
|
#include "software_knock.h"
|
||||||
#if EFI_MC33816
|
#if EFI_MC33816
|
||||||
|
@ -354,6 +355,10 @@ void applyNewHardwareSettings(void) {
|
||||||
stopLogicAnalyzerPins();
|
stopLogicAnalyzerPins();
|
||||||
#endif /* EFI_LOGIC_ANALYZER */
|
#endif /* EFI_LOGIC_ANALYZER */
|
||||||
|
|
||||||
|
#if EFI_EMULATE_POSITION_SENSORS
|
||||||
|
stopTriggerEmulatorPins();
|
||||||
|
#endif /* EFI_EMULATE_POSITION_SENSORS */
|
||||||
|
|
||||||
#if EFI_AUX_PID
|
#if EFI_AUX_PID
|
||||||
stopAuxPins();
|
stopAuxPins();
|
||||||
#endif /* EFI_AUX_PID */
|
#endif /* EFI_AUX_PID */
|
||||||
|
@ -431,6 +436,9 @@ void applyNewHardwareSettings(void) {
|
||||||
#if EFI_BOOST_CONTROL
|
#if EFI_BOOST_CONTROL
|
||||||
startBoostPin();
|
startBoostPin();
|
||||||
#endif
|
#endif
|
||||||
|
#if EFI_EMULATE_POSITION_SENSORS
|
||||||
|
startTriggerEmulatorPins();
|
||||||
|
#endif /* EFI_EMULATE_POSITION_SENSORS */
|
||||||
#if EFI_LOGIC_ANALYZER
|
#if EFI_LOGIC_ANALYZER
|
||||||
startLogicAnalyzerPins();
|
startLogicAnalyzerPins();
|
||||||
#endif /* EFI_LOGIC_ANALYZER */
|
#endif /* EFI_LOGIC_ANALYZER */
|
||||||
|
|
Loading…
Reference in New Issue