auto-sync
This commit is contained in:
parent
750fdb82f6
commit
84a6c0905f
|
@ -284,15 +284,9 @@
|
|||
#define LED_WARNING_PORT GPIOD
|
||||
#define LED_WARNING_PIN GPIOD_LED3
|
||||
|
||||
#define LED_RUNNING_STATUS_PORT GPIOD
|
||||
#define LED_RUNNING_STATUS_PIN GPIOD_LED4
|
||||
|
||||
#define LED_ERROR_PORT GPIOD
|
||||
#define LED_ERROR_PIN GPIOD_LED5
|
||||
|
||||
#define LED_COMMUNICATION_PORT GPIOD
|
||||
#define LED_COMMUNICATION_PIN GPIOD_LED6
|
||||
|
||||
#define EFI_WARNING_LED TRUE
|
||||
|
||||
// USART1 -> check defined STM32_SERIAL_USE_USART1
|
||||
|
|
|
@ -451,17 +451,19 @@ extern engine_pins_s enginePins;
|
|||
|
||||
static OutputPin *leds[] = { &warningPin, &runningPin, &enginePins.errorLedPin, &communicationPin, &checkEnginePin };
|
||||
|
||||
extern pin_output_mode_e DEFAULT_OUTPUT;
|
||||
|
||||
static void initStatisLeds() {
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
outputPinRegister("communication status 1", &communicationPin,
|
||||
LED_COMMUNICATION_PORT, LED_COMMUNICATION_PIN);
|
||||
outputPinRegisterExt2("communication status 1", &communicationPin,
|
||||
engineConfiguration->communicationPin, &DEFAULT_OUTPUT);
|
||||
#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);
|
||||
outputPinRegisterExt2("is running status", &runningPin, engineConfiguration->runningPin,
|
||||
&DEFAULT_OUTPUT);
|
||||
#endif /* EFI_WARNING_LED */
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "engine.h"
|
||||
|
||||
#define FLASH_DATA_VERSION 8700
|
||||
#define FLASH_DATA_VERSION 8900
|
||||
|
||||
void readFromFlash(void);
|
||||
void initFlash(Logging *sharedLogger);
|
||||
|
|
Loading…
Reference in New Issue