p from past
This commit is contained in:
parent
3bbaa7d870
commit
d3c88ebdad
|
@ -26,6 +26,18 @@ static void setCanFrankensoDefaults() {
|
|||
engineConfiguration->canRxPin = Gpio::B12;
|
||||
}
|
||||
|
||||
Gpio getWarningLedPin() {
|
||||
return Gpio::D13; // orange LED on discovery
|
||||
}
|
||||
|
||||
Gpio getCommunicationLedPin() {
|
||||
return Gpio::D15; // blue LED on discovery
|
||||
}
|
||||
|
||||
Gpio getRunningLedPin() {
|
||||
return Gpio::D12; // green LED on discovery
|
||||
}
|
||||
|
||||
static void setHip9011FrankensoPinout() {
|
||||
/**
|
||||
* SPI on PB13/14/15
|
||||
|
|
|
@ -259,24 +259,6 @@ void prepareVoidConfiguration(engine_configuration_s *engineConfiguration) {
|
|||
}
|
||||
|
||||
void setDefaultBasePins() {
|
||||
#ifdef EFI_WARNING_PIN
|
||||
engineConfiguration->warningLedPin = EFI_WARNING_PIN;
|
||||
#else
|
||||
engineConfiguration->warningLedPin = Gpio::D13; // orange LED on discovery
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef EFI_COMMUNICATION_PIN
|
||||
engineConfiguration->communicationLedPin = EFI_COMMUNICATION_PIN;
|
||||
#else
|
||||
engineConfiguration->communicationLedPin = Gpio::D15; // blue LED on discovery
|
||||
#endif
|
||||
#ifdef EFI_RUNNING_PIN
|
||||
engineConfiguration->runningLedPin = EFI_RUNNING_PIN;
|
||||
#else
|
||||
engineConfiguration->runningLedPin = Gpio::D12; // green LED on discovery
|
||||
#endif
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
// call overrided board-specific serial configuration setup, if needed (for custom boards only)
|
||||
// needed also by bootloader code
|
||||
|
|
Loading…
Reference in New Issue