trigger layer start-up is a mess #5241
refactoring: just renaming method
This commit is contained in:
parent
cffad07458
commit
56ea0bbc08
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
void initTriggerImplementation();
|
||||
|
||||
void applyNewTriggerInputPins();
|
||||
void onEcuStartDoSomethingTriggerInputPins();
|
||||
void startTriggerInputPins();
|
||||
void stopTriggerInputPins();
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ void initTriggerImplementation() {
|
|||
compInit();
|
||||
compStart(EFI_COMP_PRIMARY_DEVICE, &comp_shaft_cfg);
|
||||
|
||||
applyNewTriggerInputPins();
|
||||
onEcuStartDoSomethingTriggerInputPins();
|
||||
}
|
||||
|
||||
static int getDacValue(uint8_t voltage) {
|
||||
|
|
Loading…
Reference in New Issue