what do I do wrong here?

This commit is contained in:
rusefi 2019-01-02 22:15:51 -05:00
parent aceae18a0b
commit 79bd41b7ba
3 changed files with 19 additions and 0 deletions

View File

@ -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/audi_aan.cpp \
$(PROJECT_DIR)/config/engines/bmw_e34.cpp \ $(PROJECT_DIR)/config/engines/bmw_e34.cpp \
$(PROJECT_DIR)/config/engines/mazda_miata.cpp \ $(PROJECT_DIR)/config/engines/mazda_miata.cpp \
$(PROJECT_DIR)/config/engines/mazda_miata_base_maps.cpp \
$(PROJECT_DIR)/config/engines/mazda_miata_1_6.cpp \ $(PROJECT_DIR)/config/engines/mazda_miata_1_6.cpp \
$(PROJECT_DIR)/config/engines/mazda_miata_na8.cpp \ $(PROJECT_DIR)/config/engines/mazda_miata_na8.cpp \
$(PROJECT_DIR)/config/engines/mazda_miata_vvt.cpp \ $(PROJECT_DIR)/config/engines/mazda_miata_vvt.cpp \

View File

@ -16,6 +16,10 @@
EXTERN_ENGINE; EXTERN_ENGINE;
// todo:
// extern const float ve16RpmBins[FUEL_RPM_COUNT];
static const float ve16RpmBins[FUEL_RPM_COUNT] = { static const float ve16RpmBins[FUEL_RPM_COUNT] = {
650.0,1100.0,1550.0,2000.0, 650.0,1100.0,1550.0,2000.0,
2450.0,2900.0,3350.0,3800.0, 2450.0,2900.0,3350.0,3800.0,

View File

@ -0,0 +1,14 @@
/*
* mazda_miata_base_maps.cpp
*
* Created on: Dec 31, 2018
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#include "engine.h"
//const float ve16RpmBins[FUEL_RPM_COUNT] = {
//650.0,1100.0,1550.0,2000.0,
//2450.0,2900.0,3350.0,3800.0,
//4250.0,4700.0,5150.0,5650.0,
//6100.0,6550.0,7000.0,7450.0};