only: couple

This commit is contained in:
rusefillc 2024-03-06 14:43:30 -05:00
parent fbe143feac
commit 4fd49a8e5d
2 changed files with 25 additions and 2 deletions

View File

@ -250,7 +250,8 @@ static void commonGenesisCoupe() {
cannedprimeValues();
cannedcltIdleCorrBins();
cannedcltIdleCorr();
cannedignitionTable();
couplecannedignitionTable();
couplecannedveTable();
#endif // HW_HELLEN_HYUNDAI
engineConfiguration->displayLogicLevelsInEngineSniffer = true;

View File

@ -19,7 +19,29 @@ static void cannedcltIdleCorr() {
copyArray(config->cltIdleCorr, hardCodedcltIdleCorr);
}
static void cannedignitionTable() {
static void couplecannedveTable() {
static const float hardCodedveTable[16][16] = {
{52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, },
{51.500, 54.500, 54.400, 56.000, 61.000, 68.100, 66.800, 67.600, 68.200, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, },
{52.500, 55.400, 57.700, 62.200, 62.800, 65.800, 69.600, 71.100, 72.200, 67.600, 67.600, 67.600, 67.600, 67.600, 67.600, 67.600, },
{54.200, 56.300, 59.000, 64.300, 65.700, 68.400, 71.400, 72.900, 73.900, 70.500, 70.400, 70.400, 70.300, 70.200, 70.200, 70.200, },
{54.400, 56.700, 59.500, 65.200, 71.800, 75.400, 75.300, 73.800, 74.700, 72.600, 72.500, 72.300, 72.200, 72.100, 72.000, 72.000, },
{55.100, 58.100, 61.400, 67.900, 75.400, 77.300, 75.000, 76.300, 77.200, 77.500, 77.000, 76.500, 76.000, 75.600, 75.400, 75.400, },
{55.800, 59.400, 63.000, 70.100, 73.200, 75.400, 77.800, 78.900, 79.800, 79.100, 78.400, 77.700, 77.000, 76.400, 76.100, 76.100, },
{56.000, 66.200, 70.600, 74.200, 74.100, 76.000, 79.900, 84.100, 82.200, 79.600, 78.900, 78.200, 77.500, 76.900, 76.600, 76.600, },
{58.500, 67.400, 69.200, 75.500, 78.300, 79.900, 81.700, 83.700, 84.700, 82.100, 81.400, 80.700, 80.000, 79.400, 79.100, 79.100, },
{52.900, 70.000, 71.900, 75.900, 79.800, 81.900, 83.700, 85.600, 86.100, 83.600, 83.000, 82.200, 81.600, 81.000, 80.700, 83.700, },
{50.700, 71.000, 73.000, 77.300, 81.600, 83.900, 85.700, 87.600, 87.900, 85.400, 84.800, 84.000, 83.400, 82.800, 82.500, 85.500, },
{53.700, 74.000, 76.000, 80.300, 84.600, 86.900, 88.700, 90.600, 90.900, 88.400, 87.800, 87.000, 86.400, 85.800, 85.500, 88.500, },
{56.700, 77.000, 79.000, 83.300, 87.600, 89.900, 91.700, 93.600, 93.900, 91.400, 90.800, 90.000, 89.400, 88.800, 88.500, 91.500, },
{59.700, 80.000, 82.000, 86.300, 90.600, 92.900, 94.700, 96.600, 96.900, 94.400, 93.800, 93.000, 92.400, 91.800, 91.500, 94.500, },
{62.700, 83.000, 85.000, 89.300, 93.600, 95.900, 97.700, 99.600, 99.900, 97.400, 96.800, 96.000, 95.400, 94.800, 94.500, 97.500, },
{65.700, 86.000, 88.000, 92.300, 96.600, 98.900, 100.700, 102.600, 102.900, 100.400, 99.800, 99.000, 98.400, 97.800, 97.500, 100.500, },
};
copyTable(config->veTable, hardCodedveTable);
}
static void couplecannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{12.100, 14.000, 17.800, 22.900, 29.300, 35.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, },
{11.800, 13.700, 10.000, 14.900, 28.600, 34.800, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 41.000, 41.000, 41.000, 41.000, },