call-board-configuration pull request (fix)

This commit is contained in:
Andrei 2017-04-22 01:28:12 +03:00
parent 7afeecc862
commit dc7a24d80f
4 changed files with 11 additions and 3 deletions

View File

@ -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) {
}

View File

@ -1342,6 +1342,7 @@
extern "C" {
#endif
void boardInit(void);
void setBoardConfiguration(void);
#ifdef __cplusplus
}
#endif

View File

@ -869,7 +869,7 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->tpsAccelLength = 12;
engineConfiguration->tpsAccelEnrichmentThreshold = 40; // TPS % change, per engine cycle
boardInit();
setBoardConfiguration();
}
void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_ENGINE_PARAMETER_S) {

View File

@ -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