call-board-configuration pull request (fix unit tests)
This commit is contained in:
parent
5804bbe8b4
commit
ed24a0293b
|
@ -34,6 +34,7 @@
|
||||||
#include "idle_thread.h"
|
#include "idle_thread.h"
|
||||||
#include "alternatorController.h"
|
#include "alternatorController.h"
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
|
#include "board.h"
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
|
||||||
#include "hip9011_lookup.h"
|
#include "hip9011_lookup.h"
|
||||||
|
@ -89,8 +90,6 @@
|
||||||
#include "zil130.h"
|
#include "zil130.h"
|
||||||
#include "honda_600.h"
|
#include "honda_600.h"
|
||||||
|
|
||||||
#include "board.h"
|
|
||||||
|
|
||||||
EXTERN_ENGINE;
|
EXTERN_ENGINE;
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO || defined(__DOXYGEN__)
|
#if EFI_TUNER_STUDIO || defined(__DOXYGEN__)
|
||||||
|
@ -868,9 +867,11 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
engineConfiguration->tpsAccelLength = 12;
|
engineConfiguration->tpsAccelLength = 12;
|
||||||
engineConfiguration->tpsAccelEnrichmentThreshold = 40; // TPS % change, per engine cycle
|
engineConfiguration->tpsAccelEnrichmentThreshold = 40; // TPS % change, per engine cycle
|
||||||
|
|
||||||
|
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||||
// call overrided board-specific configuration setup, if needed (for custom boards only)
|
// call overrided board-specific configuration setup, if needed (for custom boards only)
|
||||||
setBoardConfigurationOverrides();
|
setBoardConfigurationOverrides();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_ENGINE_PARAMETER_S) {
|
void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_ENGINE_PARAMETER_S) {
|
||||||
|
|
Loading…
Reference in New Issue