#215 minor bugfix thank you AndreiKa
This commit is contained in:
parent
0e9f63524e
commit
ca6982d7af
|
@ -66,6 +66,7 @@
|
|||
#include "lcd_controller.h"
|
||||
#include "pin_repository.h"
|
||||
#include "tachometer.h"
|
||||
#include "CJ125.h"
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
extern bool hasFirmwareErrorFlag;
|
||||
|
@ -608,6 +609,14 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
|
|||
}
|
||||
#endif /* EFI_WAVE_ANALYZER */
|
||||
|
||||
#if EFI_CJ125 || defined(__DOXYGEN__)
|
||||
/**
|
||||
* this uses SimplePwm which depends on scheduler, has to be initialized after scheduler
|
||||
*/
|
||||
initCJ125(sharedLogger);
|
||||
#endif
|
||||
|
||||
|
||||
#if EFI_SHAFT_POSITION_INPUT || defined(__DOXYGEN__)
|
||||
/**
|
||||
* there is an implicit dependency on the fact that 'tachometer' listener is the 1st listener - this case
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include "trigger_central.h"
|
||||
#include "svnversion.h"
|
||||
#include "engine_configuration.h"
|
||||
#include "CJ125.h"
|
||||
#include "aux_pid.h"
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
|
@ -456,10 +455,6 @@ void initHardware(Logging *l) {
|
|||
|
||||
calcFastAdcIndexes();
|
||||
|
||||
#if EFI_CJ125 || defined(__DOXYGEN__)
|
||||
initCJ125(sharedLogger);
|
||||
#endif
|
||||
|
||||
printMsg(sharedLogger, "initHardware() OK!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue