UART pins validation and dynamic alternative function recognition #3536

This commit is contained in:
rusefillc 2021-11-13 04:13:11 -05:00
parent 73b05d2e20
commit 23612b5873
1 changed files with 4 additions and 0 deletions

View File

@ -380,11 +380,15 @@
#endif
// todo: this should be detected automatically based on pin selection
// https://github.com/rusefi/rusefi/issues/3536
#ifndef EFI_CONSOLE_AF
#define EFI_CONSOLE_AF 7
#endif
// todo: this should be detected automatically based on pin selection
// https://github.com/rusefi/rusefi/issues/3536
#ifndef TS_SERIAL_AF
#define TS_SERIAL_AF 7
#endif
#ifndef LED_CRITICAL_ERROR_BRAIN_PIN
#define LED_CRITICAL_ERROR_BRAIN_PIN GPIOD_14