mirror of https://github.com/rusefi/rusefi.git
only:kinetis
This commit is contained in:
parent
f2505d6c7b
commit
d77533768f
|
@ -1,10 +1,12 @@
|
|||
#include "hyundai_pb_canned_tables.cpp"
|
||||
|
||||
void cannedPbTables() {
|
||||
#if (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT) && (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT) && (FUEL_LOAD_COUNT == DEFAULT_FUEL_LOAD_COUNT) && (FUEL_RPM_COUNT == DEFAULT_FUEL_LOAD_COUNT)
|
||||
cannedvvtTable1();
|
||||
cannedvvtTable2();
|
||||
cannedignitionTable();
|
||||
cannedveTable();
|
||||
cannedinjectionPhase();
|
||||
cannedlambdaTable();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#if (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT) && (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT) && (FUEL_LOAD_COUNT == DEFAULT_FUEL_LOAD_COUNT) && (FUEL_RPM_COUNT == DEFAULT_FUEL_LOAD_COUNT)
|
||||
|
||||
static void cannedvvtTable1() {
|
||||
static const float hardCodedvvtTable1[8][8] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
@ -27,7 +29,6 @@ static void cannedvvtTable2() {
|
|||
}
|
||||
|
||||
static void cannedignitionTable() {
|
||||
#if (IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT) && (IGN_RPM_COUNT == DEFAULT_IGN_RPM_COUNT)
|
||||
static const float hardCodedignitionTable[16][16] = {
|
||||
{12.200, 14.200, 18.100, 23.300, 29.900, 36.400, 39.200, 40.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, },
|
||||
{12.100, 14.000, 17.800, 22.900, 29.300, 35.600, 39.000, 39.800, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, },
|
||||
|
@ -47,7 +48,6 @@ static void cannedignitionTable() {
|
|||
{-15.000, -15.000, -15.000, -15.000, -15.000, -15.000, -15.000, -15.000, -14.000, -13.600, -13.200, -12.900, -12.500, -12.100, -11.700, -11.000, },
|
||||
};
|
||||
copyTable(config->ignitionTable, hardCodedignitionTable);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void cannedveTable() {
|
||||
|
@ -115,3 +115,4 @@ static void cannedlambdaTable() {
|
|||
};
|
||||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue