예제 #1
0
static void initStatisLeds() {
#if EFI_PROD_CODE || defined(__DOXYGEN__)
	outputPinRegister("communication status 1", &communicationPin,
	LED_COMMUNICATION_PORT, LED_COMMUNICATION_PIN);
#endif

#if EFI_WARNING_LED || defined(__DOXYGEN__)
	outputPinRegister("warning", &warningPin, LED_WARNING_PORT,
	LED_WARNING_PIN);
	outputPinRegister("is running status", &runningPin, LED_RUNNING_STATUS_PORT,
	LED_RUNNING_STATUS_PIN);
#endif /* EFI_WARNING_LED */
}
예제 #2
0
static void initStatusLeds(void) {
#if EFI_PROD_CODE || defined(__DOXYGEN__)
	outputPinRegisterExt2("led: comm status", &communicationPin,
			engineConfiguration->communicationPin, &DEFAULT_OUTPUT);
	// we initialize this here so that we can blink it on start-up
	outputPinRegisterExt2("MalfunctionIndicator", &enginePins.checkEnginePin, boardConfiguration->malfunctionIndicatorPin, &DEFAULT_OUTPUT);
#endif

#if EFI_WARNING_LED || defined(__DOXYGEN__)
	outputPinRegister("led: warning status", &warningPin, LED_WARNING_PORT,
	LED_WARNING_PIN);
	outputPinRegisterExt2("led: running status", &runningPin, engineConfiguration->runningPin,
			&DEFAULT_OUTPUT);
#endif /* EFI_WARNING_LED */
}
예제 #3
0
void initPrimaryPins(void) {
	outputPinRegister("LED_ERROR", &enginePins.errorLedPin, LED_ERROR_PORT, LED_ERROR_PIN);
}