mirror of https://github.com/ArduPilot/ardupilot
AP_Bootloader: allow OTG2 to be used as OTG1 on boards that need it
This commit is contained in:
parent
8ef92805e1
commit
bfc82f283b
|
@ -324,7 +324,9 @@ jump_to_app()
|
|||
#endif
|
||||
rccDisableAPB2(~0);
|
||||
#if HAL_USE_SERIAL_USB == TRUE
|
||||
#if !defined(STM32_OTG2_IS_OTG1)
|
||||
rccResetOTG_FS();
|
||||
#endif
|
||||
#if defined(rccResetOTG_HS)
|
||||
rccResetOTG_HS();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue