mirror of https://github.com/Desuuuu/klipper.git
stm32: call "try_request_canboot" for bootloader requests
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
129091d811
commit
3c7eea7336
|
@ -163,6 +163,7 @@ check_usb_dfu_bootloader(void)
|
||||||
void
|
void
|
||||||
usb_request_bootloader(void)
|
usb_request_bootloader(void)
|
||||||
{
|
{
|
||||||
|
try_request_canboot();
|
||||||
usb_reboot_for_dfu_bootloader();
|
usb_reboot_for_dfu_bootloader();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -243,6 +243,7 @@ usb_stm32duino_bootloader(void)
|
||||||
void
|
void
|
||||||
usb_request_bootloader(void)
|
usb_request_bootloader(void)
|
||||||
{
|
{
|
||||||
|
try_request_canboot();
|
||||||
if (CONFIG_STM32_FLASH_START_800)
|
if (CONFIG_STM32_FLASH_START_800)
|
||||||
usb_hid_bootloader();
|
usb_hid_bootloader();
|
||||||
else if (CONFIG_STM32_FLASH_START_2000)
|
else if (CONFIG_STM32_FLASH_START_2000)
|
||||||
|
|
|
@ -231,6 +231,7 @@ check_usb_dfu_bootloader(void)
|
||||||
void
|
void
|
||||||
usb_request_bootloader(void)
|
usb_request_bootloader(void)
|
||||||
{
|
{
|
||||||
|
try_request_canboot();
|
||||||
if (CONFIG_STM32_FLASH_START_4000)
|
if (CONFIG_STM32_FLASH_START_4000)
|
||||||
usb_hid_bootloader();
|
usb_hid_bootloader();
|
||||||
usb_reboot_for_dfu_bootloader();
|
usb_reboot_for_dfu_bootloader();
|
||||||
|
|
|
@ -133,6 +133,7 @@ check_usb_dfu_bootloader(void)
|
||||||
void
|
void
|
||||||
usb_request_bootloader(void)
|
usb_request_bootloader(void)
|
||||||
{
|
{
|
||||||
|
try_request_canboot();
|
||||||
usb_reboot_for_dfu_bootloader();
|
usb_reboot_for_dfu_bootloader();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,6 +190,7 @@ clock_setup(void)
|
||||||
void
|
void
|
||||||
usb_request_bootloader(void)
|
usb_request_bootloader(void)
|
||||||
{
|
{
|
||||||
|
try_request_canboot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue