Bootloader: delay before boot key sampling. (#277)

This commit is contained in:
あく 2020-12-24 14:22:17 +03:00 committed by GitHub
parent 9a257b048e
commit 8de7083981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}