auto-sync
This commit is contained in:
parent
5ee8095668
commit
5cadf70d9f
|
@ -81,6 +81,13 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
boardConfiguration->alternatorControlPin = GPIOE_10;
|
||||
boardConfiguration->alternatorControlPinMode = OM_OPENDRAIN;
|
||||
|
||||
engineConfiguration->alternatorControl.offset = 35;
|
||||
engineConfiguration->alternatorControl.pFactor = 60;
|
||||
engineConfiguration->alternatorControl.iFactor = 10;
|
||||
engineConfiguration->alternatorControl.dFactor = 0;
|
||||
engineConfiguration->alternatorDT = 10;
|
||||
|
||||
|
||||
// set vvt_mode 3
|
||||
engineConfiguration->vvtMode = MIATA_NB2;
|
||||
boardConfiguration->vvtCamSensorUseRise = true;
|
||||
|
|
|
@ -255,7 +255,7 @@ static void setIdleDT(int value) {
|
|||
showIdleInfo();
|
||||
}
|
||||
|
||||
static void startIdleBench(void) {
|
||||
void startIdleBench(void) {
|
||||
timeToStopIdleTest = getTimeNowUs() + MS2US(3000); // 3 seconds
|
||||
scheduleMsg(logger, "idle valve bench test");
|
||||
showIdleInfo();
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
percent_t getIdlePosition(void);
|
||||
void startIdleThread(Logging*sharedLogger, Engine *engine);
|
||||
void setDefaultIdleParameters(void);
|
||||
void startIdleBench(void);
|
||||
|
||||
#endif /* IDLE_THREAD_H_ */
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "injector_central.h"
|
||||
#include "engine_controller.h"
|
||||
#include "mmc_card.h"
|
||||
#include "idle_thread.h"
|
||||
|
||||
#if EFI_HD44780_LCD || defined(__DOXYGEN__)
|
||||
|
||||
|
@ -60,6 +61,7 @@ static MenuItem miStopEngine(&miBench, "stop engine", stopEngine);
|
|||
static MenuItem miTestFan(&miBench, "test fan", fanBench);
|
||||
static MenuItem miTestFuelPump(&miBench, "test pump", fuelPumpBench);
|
||||
static MenuItem miTestMIL(&miBench, "test MIL", milBench);
|
||||
static MenuItem miTestIAC(&miBench, "test IAC", startIdleBench);
|
||||
// todo: looks like these are not finished yet?
|
||||
static MenuItem miTestSpark1(&miBench, "test spark1");
|
||||
static MenuItem miTestSpark2(&miBench, "test spark2");
|
||||
|
|
Loading…
Reference in New Issue