refactoring
This commit is contained in:
parent
c17b7eeb5c
commit
fe85582767
|
@ -13,6 +13,10 @@
|
|||
#include "crc.h"
|
||||
#include "engine_configuration_generated_structures.h"
|
||||
|
||||
#ifndef DEFAULT_ENGINE_TYPE
|
||||
#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE
|
||||
#endif
|
||||
|
||||
#define CLT_MANUAL_IDLE_CORRECTION config->cltIdleCorrBins, config->cltIdleCorr, CLT_CURVE_SIZE
|
||||
#define WARMUP_CLT_EXTRA_FUEL_CURVE config->cltFuelCorrBins, config->cltFuelCorr, CLT_CURVE_SIZE
|
||||
#define IAT_FUEL_CORRECTION_CURVE config->iatFuelCorrBins, config->iatFuelCorr, IAT_CURVE_SIZE
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* @file global.h
|
||||
*
|
||||
* Global header file for firmware
|
||||
* Global utility header file for firmware
|
||||
*
|
||||
* @date May 27, 2013
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
|
@ -18,10 +18,6 @@ extern "C"
|
|||
#include <ch.h>
|
||||
#include <hal.h>
|
||||
|
||||
#ifndef DEFAULT_ENGINE_TYPE
|
||||
#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE
|
||||
#endif
|
||||
|
||||
// this is about MISRA not liking 'time.h'. todo: figure out something
|
||||
#if defined __GNUC__
|
||||
// GCC
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#ifndef GLOBAL_H_
|
||||
#define GLOBAL_H_
|
||||
|
||||
#define DEFAULT_ENGINE_TYPE FORD_ESCORT_GT
|
||||
|
||||
#include <ch.h>
|
||||
#include <hal.h>
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#ifndef GLOBAL_H_
|
||||
#define GLOBAL_H_
|
||||
|
||||
#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue