rusefi-1/firmware/hw_layer/trigger_input.cpp

21 lines
449 B
C++
Raw Normal View History

2019-11-11 18:25:40 -08:00
/*
2019-04-12 05:05:53 -07:00
* @file trigger_input.cpp
2015-07-10 06:01:56 -07:00
*
2019-11-11 18:25:40 -08:00
* @date Nov 11, 2019
* @author Andrey Belomutskiy, (c) 2012-2019
2015-07-10 06:01:56 -07:00
*/
2018-09-16 19:26:57 -07:00
#include "global.h"
2015-07-10 06:01:56 -07:00
#include "trigger_input.h"
2019-04-12 05:05:53 -07:00
2019-11-11 18:45:15 -08:00
#if (EFI_PROD_CODE && EFI_SHAFT_POSITION_INPUT) || defined(__DOXYGEN__)
2015-07-10 06:01:56 -07:00
void applyNewTriggerInputPins(void) {
2019-04-12 05:05:53 -07:00
// first we will turn off all the changed pins
stopTriggerInputPins();
2019-04-12 05:05:53 -07:00
// then we will enable all the changed pins
startTriggerInputPins();
}
2019-11-11 18:25:40 -08:00
#endif /* EFI_SHAFT_POSITION_INPUT */