call-board-configuration pull request (fix2)
This commit is contained in:
parent
a15d48a911
commit
5804bbe8b4
|
@ -129,8 +129,8 @@ void boardInit(void) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Board-specific configuration code.
|
||||
* @brief Board-specific configuration code overrides.
|
||||
* @todo Add your board-specific code, if any.
|
||||
*/
|
||||
void setBoardConfiguration(void) {
|
||||
void setBoardConfigurationOverrides(void) {
|
||||
}
|
||||
|
|
|
@ -1342,7 +1342,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfiguration(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -870,7 +870,7 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
engineConfiguration->tpsAccelEnrichmentThreshold = 40; // TPS % change, per engine cycle
|
||||
|
||||
// call overrided board-specific configuration setup, if needed (for custom boards only)
|
||||
setBoardConfiguration();
|
||||
setBoardConfigurationOverrides();
|
||||
}
|
||||
|
||||
void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_ENGINE_PARAMETER_S) {
|
||||
|
|
Loading…
Reference in New Issue