auto-sync
This commit is contained in:
parent
34a87f7d16
commit
9d59e5e12b
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* @file bmw_e34.cpp
|
||||
*
|
||||
* set_engine_type 25
|
||||
*
|
||||
* @date Nov 5, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2014
|
||||
*/
|
||||
|
||||
#include "global.h"
|
||||
#include "bmw_e34.h"
|
||||
|
||||
void setBmwE43(engine_configuration_s *engineConfiguration) {
|
||||
engineConfiguration->rpmHardLimit = 6000;
|
||||
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||
|
||||
engineConfiguration->triggerConfig.triggerType = TT_TOOTHED_WHEEL_60_2;
|
||||
engineConfiguration->cylindersCount = 6;
|
||||
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* @file bmw_e34.h
|
||||
*
|
||||
* @date Nov 5, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2014
|
||||
*/
|
||||
|
||||
#ifndef BMW_E34_H_
|
||||
#define BMW_E34_H_
|
||||
|
||||
#include "engine_configuration.h"
|
||||
|
||||
void setBmwE43(engine_configuration_s *engineConfiguration);
|
||||
|
||||
#endif /* BMW_E34_H_ */
|
|
@ -4,6 +4,7 @@ ENGINES_SRC =
|
|||
ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
|
||||
$(PROJECT_DIR)/config/engines/MiniCooperR50.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/citroenBerlingoTU3JP.cpp \
|
||||
$(PROJECT_DIR)/config/engines/dodge_neon.cpp \
|
||||
|
|
|
@ -245,6 +245,8 @@ case GY6_139QMB:
|
|||
return "GY6_139QMB";
|
||||
case MAZDA_MIATA_NB:
|
||||
return "MAZDA_MIATA_NB";
|
||||
case BMW_E34:
|
||||
return "BMWe34";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#endif
|
||||
|
||||
#include "audi_aan.h"
|
||||
#include "bmw_e34.h"
|
||||
#include "dodge_neon.h"
|
||||
#include "ford_aspire.h"
|
||||
#include "ford_fiesta.h"
|
||||
|
@ -537,7 +538,9 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType, Engine *e
|
|||
case SUBARU_2003_WRX:
|
||||
setSubaru2003Wrx(engineConfiguration, boardConfiguration);
|
||||
break;
|
||||
|
||||
case BMW_E34:
|
||||
setBmwE43(engineConfiguration);
|
||||
break;
|
||||
default:
|
||||
firmwareError("Unexpected engine type: %d", engineType);
|
||||
|
||||
|
|
|
@ -92,7 +92,9 @@ typedef enum {
|
|||
DODGE_NEON_2003 = 23,
|
||||
MIATA_1994_SPAGS = 24,
|
||||
|
||||
ET_UNUSED = 25,
|
||||
BMW_E34 = 25,
|
||||
|
||||
ET_UNUSED = 26,
|
||||
|
||||
Force_4b_engine_type = ENUM_SIZE_HACK,
|
||||
} engine_type_e;
|
||||
|
|
Loading…
Reference in New Issue