unit test for start/stop hardware and pin repository #1811

This commit is contained in:
rusefi 2020-09-21 12:29:01 -04:00
parent eef4e800b5
commit 2d771018e8
2 changed files with 5 additions and 3 deletions

View File

@ -1181,7 +1181,9 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
// set initial pin groups
setDefaultBasePins(PASS_CONFIG_PARAMETER_SIGNATURE);
boardCallback(engineConfiguration);
if (boardCallback != nullptr) {
boardCallback(engineConfiguration);
}
#if EFI_PROD_CODE
// call overrided board-specific configuration setup, if needed (for custom boards only)

View File

@ -12,6 +12,6 @@ TEST(hardware, reinit) {
ButtonDebounce::startConfigurationList();
// resetConfigurationExt(nullptr, nullptr, ROVER_V8 PASS_ENGINE_PARAMETER_SUFFIX);
// resetConfigurationExt(nullptr, nullptr, MIATA_NA6_MAP PASS_ENGINE_PARAMETER_SUFFIX);
resetConfigurationExt(nullptr, nullptr, ROVER_V8 PASS_ENGINE_PARAMETER_SUFFIX);
resetConfigurationExt(nullptr, nullptr, MIATA_NA6_MAP PASS_ENGINE_PARAMETER_SUFFIX);
}