trigger layer start-up is a mess #5241

refactoring: just renaming method
This commit is contained in:
rusefillc 2023-04-19 17:16:19 -04:00
parent cffad07458
commit 56ea0bbc08
3 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ void startTriggerInputPins() {
}
void initTriggerImplementation() {
applyNewTriggerInputPins();
onEcuStartDoSomethingTriggerInputPins();
}
#endif /* (HAL_TRIGGER_USE_PAL == TRUE) || (HAL_TRIGGER_USE_ADC == TRUE) */
@ -182,7 +182,7 @@ void startTriggerDebugPins() {
}
}
void applyNewTriggerInputPins() {
void onEcuStartDoSomethingTriggerInputPins() {
if (hasFirmwareError()) {
return;
}

View File

@ -16,7 +16,7 @@
*/
void initTriggerImplementation();
void applyNewTriggerInputPins();
void onEcuStartDoSomethingTriggerInputPins();
void startTriggerInputPins();
void stopTriggerInputPins();

View File

@ -91,7 +91,7 @@ void initTriggerImplementation() {
compInit();
compStart(EFI_COMP_PRIMARY_DEVICE, &comp_shaft_cfg);
applyNewTriggerInputPins();
onEcuStartDoSomethingTriggerInputPins();
}
static int getDacValue(uint8_t voltage) {