This commit is contained in:
Andreika 2024-11-19 22:43:56 +02:00 committed by GitHub
parent a7e9d0ce8e
commit 91c773b538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@ protected:
} }
#endif // BOOTLOADER_ENABLE_OUTPUT_PIN #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 #ifdef BOOTLOADER_DISABLE_GREEN_LED
greenPort = NULL; greenPort = NULL;
#endif // BOOTLOADER_DISABLE_GREEN_LED #endif // BOOTLOADER_DISABLE_GREEN_LED