trigger signal debug pins - logic level output #2959
This commit is contained in:
parent
bb38cc60eb
commit
d1b3eb065d
|
@ -184,10 +184,12 @@ void turnOnTriggerInputPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
#endif /* (HAL_USE_ICU == TRUE) || (HAL_TRIGGER_USE_PAL == TRUE) */
|
||||
|
||||
void applyNewTriggerInputPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
#if EFI_PROD_CODE
|
||||
// first we will turn off all the changed pins
|
||||
stopTriggerInputPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
// then we will enable all the changed pins
|
||||
startTriggerInputPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
#endif /* EFI_PROD_CODE */
|
||||
}
|
||||
|
||||
#endif /* EFI_SHAFT_POSITION_INPUT */
|
||||
|
|
|
@ -310,7 +310,7 @@ void applyNewHardwareSettings(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
*/
|
||||
ButtonDebounce::stopConfigurationList();
|
||||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
#if EFI_PROD_CODE && EFI_SHAFT_POSITION_INPUT
|
||||
stopTriggerInputPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
#endif /* EFI_SHAFT_POSITION_INPUT */
|
||||
|
||||
|
@ -383,7 +383,7 @@ void applyNewHardwareSettings(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
* Start everything back with new settings *
|
||||
******************************************/
|
||||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
#if EFI_PROD_CODE && EFI_SHAFT_POSITION_INPUT
|
||||
startTriggerInputPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
#endif /* EFI_SHAFT_POSITION_INPUT */
|
||||
|
||||
|
|
Loading…
Reference in New Issue