mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 05:48:33 +00:00
Bootloader: delay before boot key sampling. (#277)
This commit is contained in:
parent
9a257b048e
commit
8de7083981
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ int target_is_dfu_requested() {
|
|||
LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_NONE);
|
||||
return 1;
|
||||
}
|
||||
|
||||
LL_mDelay(100);
|
||||
if(!LL_GPIO_IsInputPinSet(BOOT_DFU_PORT, BOOT_DFU_PIN)) {
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue