OpenBLT: Enable another arbitrary pin https://github.com/rusefi/rusefi/issues/7069 (#7084)
This commit is contained in:
parent
a7e9d0ce8e
commit
91c773b538
|
@ -45,6 +45,14 @@ protected:
|
|||
}
|
||||
#endif // BOOTLOADER_ENABLE_OUTPUT_PIN
|
||||
|
||||
#ifdef BOOTLOADER_ENABLE_OUTPUT_PIN2
|
||||
{
|
||||
ioportid_t en_port = getHwPort("blt-en-pin2", BOOTLOADER_ENABLE_OUTPUT_PIN2);
|
||||
uint8_t en_pin = getHwPin("blt-en-pin2", BOOTLOADER_ENABLE_OUTPUT_PIN2);
|
||||
palWritePad(en_port, en_pin, 1);
|
||||
}
|
||||
#endif // BOOTLOADER_ENABLE_OUTPUT_PIN2
|
||||
|
||||
#ifdef BOOTLOADER_DISABLE_GREEN_LED
|
||||
greenPort = NULL;
|
||||
#endif // BOOTLOADER_DISABLE_GREEN_LED
|
||||
|
|
Loading…
Reference in New Issue