UART pins validation and dynamic alternative function recognition #3536
This commit is contained in:
parent
73b05d2e20
commit
23612b5873
|
@ -380,11 +380,15 @@
|
||||||
#endif
|
#endif
|
||||||
// todo: this should be detected automatically based on pin selection
|
// todo: this should be detected automatically based on pin selection
|
||||||
// https://github.com/rusefi/rusefi/issues/3536
|
// https://github.com/rusefi/rusefi/issues/3536
|
||||||
|
#ifndef EFI_CONSOLE_AF
|
||||||
#define EFI_CONSOLE_AF 7
|
#define EFI_CONSOLE_AF 7
|
||||||
|
#endif
|
||||||
|
|
||||||
// todo: this should be detected automatically based on pin selection
|
// todo: this should be detected automatically based on pin selection
|
||||||
// https://github.com/rusefi/rusefi/issues/3536
|
// https://github.com/rusefi/rusefi/issues/3536
|
||||||
|
#ifndef TS_SERIAL_AF
|
||||||
#define TS_SERIAL_AF 7
|
#define TS_SERIAL_AF 7
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LED_CRITICAL_ERROR_BRAIN_PIN
|
#ifndef LED_CRITICAL_ERROR_BRAIN_PIN
|
||||||
#define LED_CRITICAL_ERROR_BRAIN_PIN GPIOD_14
|
#define LED_CRITICAL_ERROR_BRAIN_PIN GPIOD_14
|
||||||
|
|
Loading…
Reference in New Issue