mirror of https://github.com/rusefi/rusefi-1.git
Starter seems to be engaged forever #1965
This commit is contained in:
parent
35754d298a
commit
4c9c8d42bf
|
@ -584,6 +584,7 @@ void startIdleBench(void) {
|
||||||
void startIdleThread(Logging*sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
void startIdleThread(Logging*sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
logger = sharedLogger;
|
logger = sharedLogger;
|
||||||
INJECT_ENGINE_REFERENCE(&idleControllerInstance);
|
INJECT_ENGINE_REFERENCE(&idleControllerInstance);
|
||||||
|
INJECT_ENGINE_REFERENCE(&industrialWithOverrideIdlePid);
|
||||||
|
|
||||||
getIdlePid(PASS_ENGINE_PARAMETER_SIGNATURE)->initPidClass(&engineConfiguration->idleRpmPid);
|
getIdlePid(PASS_ENGINE_PARAMETER_SIGNATURE)->initPidClass(&engineConfiguration->idleRpmPid);
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||||
#include "tunerstudio_outputs.h"
|
#include "tunerstudio_outputs.h"
|
||||||
|
#else
|
||||||
|
#include "engine.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// See PidCic below
|
// See PidCic below
|
||||||
|
@ -36,6 +38,8 @@ class Logging;
|
||||||
class Pid : public pid_state_s {
|
class Pid : public pid_state_s {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
DECLARE_ENGINE_PTR;
|
||||||
|
|
||||||
Pid();
|
Pid();
|
||||||
explicit Pid(pid_s *parameters);
|
explicit Pid(pid_s *parameters);
|
||||||
void initPidClass(pid_s *parameters);
|
void initPidClass(pid_s *parameters);
|
||||||
|
|
Loading…
Reference in New Issue