trigger layer start-up is a mess #5241

refactoring: just renaming method
This commit is contained in:
rusefillc 2023-04-19 17:19:20 -04:00
parent 408d4fecb9
commit cb2d817da9
4 changed files with 4 additions and 7 deletions

View File

@ -157,7 +157,7 @@ void startTriggerInputPins() {
}
}
void initTriggerImplementation() {
void onEcuStartTriggerImplementation() {
onEcuStartDoSomethingTriggerInputPins();
}

View File

@ -11,10 +11,7 @@
#include "trigger_structure.h"
#include "trigger_central.h"
/**
* 'init' meaning invoked only on ECU start-up
*/
void initTriggerImplementation();
void onEcuStartTriggerImplementation();
void onEcuStartDoSomethingTriggerInputPins();
void startTriggerInputPins();

View File

@ -87,7 +87,7 @@ static COMPConfig comp_shaft_cfg = {
static bool isCompEnabled = false;
void initTriggerImplementation() {
void onEcuStartTriggerImplementation() {
compInit();
compStart(EFI_COMP_PRIMARY_DEVICE, &comp_shaft_cfg);

View File

@ -569,7 +569,7 @@ void initHardware() {
#if EFI_PROD_CODE && EFI_SHAFT_POSITION_INPUT
initTriggerImplementation();
onEcuStartTriggerImplementation();
#endif /* EFI_SHAFT_POSITION_INPUT */
#if EFI_HIP_9011