USB should switch back to MCU when exiting bootloader

This commit is contained in:
Richard Li
2025-01-24 19:00:12 +01:00
committed by Malte Langermann
parent 6daea8b947
commit bcc6d68bb9
@@ -366,6 +366,9 @@ bool bootloaderRadioMenu(uint32_t menuItem, event_t event)
void blExit(void) void blExit(void)
{ {
#if defined(USB_SW_GPIO)
USB_SW_TO_MCU();
#endif
lcdClear(); lcdClear();
lcdRefresh(); lcdRefresh();
lcdRefreshWait(); lcdRefreshWait();