Merge pull request #399 from andreika-git/board-configuration
call-board-configuration pull request
This commit is contained in:
commit
bf172e65ff
|
@ -127,3 +127,10 @@ bool mmc_lld_is_write_protected(MMCDriver *mmcp) {
|
|||
*/
|
||||
void boardInit(void) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Board-specific configuration code.
|
||||
* @todo Add your board-specific code, if any.
|
||||
*/
|
||||
void setBoardConfiguration(void) {
|
||||
}
|
||||
|
|
|
@ -1342,6 +1342,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfiguration(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -89,6 +89,8 @@
|
|||
#include "zil130.h"
|
||||
#include "honda_600.h"
|
||||
|
||||
#include "board.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
#if EFI_TUNER_STUDIO || defined(__DOXYGEN__)
|
||||
|
@ -866,6 +868,9 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
|
||||
engineConfiguration->tpsAccelLength = 12;
|
||||
engineConfiguration->tpsAccelEnrichmentThreshold = 40; // TPS % change, per engine cycle
|
||||
|
||||
// call overrided board-specific configuration setup, if needed (for custom boards only)
|
||||
setBoardConfiguration();
|
||||
}
|
||||
|
||||
void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_ENGINE_PARAMETER_S) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by Version2Header
|
||||
// Thu Apr 13 12:43:45 EDT 2017
|
||||
// Sat Apr 22 01:25:51 EEST 2017
|
||||
#ifndef VCS_VERSION
|
||||
#define VCS_VERSION "13823"
|
||||
#define VCS_VERSION "13886"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue