auto-sync
This commit is contained in:
parent
8ea62843a8
commit
f6f2d2fe48
|
@ -8,6 +8,7 @@ ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
|
|||
$(PROJECT_DIR)/config/engines/audi_aan.cpp \
|
||||
$(PROJECT_DIR)/config/engines/bmw_e34.cpp \
|
||||
$(PROJECT_DIR)/config/engines/mazda_miata.cpp \
|
||||
$(PROJECT_DIR)/config/engines/mazda_miata_1_6.cpp \
|
||||
$(PROJECT_DIR)/config/engines/citroenBerlingoTU3JP.cpp \
|
||||
$(PROJECT_DIR)/config/engines/dodge_neon.cpp \
|
||||
$(PROJECT_DIR)/config/engines/ford_fiesta.cpp \
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* @file mazda_miata_1_6.cpp
|
||||
*
|
||||
* @date Apr 16, 2016
|
||||
* @author Andrey Belomutskiy, (c) 2012-2016
|
||||
*/
|
||||
|
||||
#include "engine_template.h"
|
||||
#include "custom_engine.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_F) {
|
||||
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F);
|
||||
|
||||
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
engineConfiguration->specs.firingOrder = FO_1_THEN_3_THEN_4_THEN2;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* @file mazda_miata_1_6.h
|
||||
*
|
||||
* @date Apr 16, 2016
|
||||
* @author Andrey Belomutskiy, (c) 2012-2016
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_ENGINES_MAZDA_MIATA_1_6_H_
|
||||
#define CONFIG_ENGINES_MAZDA_MIATA_1_6_H_
|
||||
|
||||
#include "engine.h"
|
||||
void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_F);
|
||||
|
||||
#endif /* CONFIG_ENGINES_MAZDA_MIATA_1_6_H_ */
|
|
@ -22,6 +22,8 @@ const char *getTiming_mode_e(timing_mode_e value) {
|
|||
|
||||
const char *getEngine_type_e(engine_type_e value){
|
||||
switch(value) {
|
||||
case MIATA_NA_1_6:
|
||||
return "MIATA_NA_1_6";
|
||||
case ACURA_RSX:
|
||||
return "ACURA_RSX";
|
||||
case AUDI_AAN:
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
#include "ford_festiva.h"
|
||||
#include "lada_kalina.h"
|
||||
#include "geo_storm.h"
|
||||
|
||||
#include "mazda_miata_1_6.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
|
@ -788,6 +788,9 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
|
|||
case HONDA_ACCORD_CD:
|
||||
setHondaAccordConfigurationThreeWires(PASS_ENGINE_PARAMETER_F);
|
||||
break;
|
||||
case MIATA_NA_1_6:
|
||||
setMiataNA_1_6_Configuration(PASS_ENGINE_PARAMETER_F);
|
||||
break;
|
||||
case HONDA_ACCORD_CD_TWO_WIRES:
|
||||
setHondaAccordConfiguration1_24(PASS_ENGINE_PARAMETER_F);
|
||||
break;
|
||||
|
|
|
@ -121,7 +121,10 @@ typedef enum {
|
|||
|
||||
GEO_STORM = 40,
|
||||
|
||||
ET_UNUSED = 41,
|
||||
// Frankenso board
|
||||
MIATA_NA_1_6 = 41,
|
||||
|
||||
ET_UNUSED = 42,
|
||||
|
||||
Force_4b_engine_type = ENUM_32_BITS,
|
||||
} engine_type_e;
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.rusefi;
|
|||
import com.rusefi.core.Sensor;
|
||||
import com.rusefi.core.SensorCentral;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.Writer;
|
||||
|
@ -15,7 +14,9 @@ import java.io.Writer;
|
|||
public class SensorLogger {
|
||||
private static Writer logFile;
|
||||
|
||||
private static Sensor[] SENSORS = {Sensor.RPM, Sensor.CLT, Sensor.TPS, Sensor.VBATT};
|
||||
private static Sensor[] SENSORS = {Sensor.RPM,
|
||||
Sensor.CLT, Sensor.TPS, Sensor.VBATT,
|
||||
Sensor.MAF, Sensor.IAT};
|
||||
private static long fileStartTime;
|
||||
|
||||
private SensorLogger() {
|
||||
|
|
Loading…
Reference in New Issue