Remove obsoleted code

This commit is contained in:
Raphael Coeffic
2021-05-24 16:23:06 +02:00
committed by Raphael Coeffic
parent cee24fe013
commit 6b9abe0670
14 changed files with 54 additions and 1083 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ void handleUsbConnection()
#if defined(STM32) && !defined(SIMU)
if (!usbStarted() && usbPlugged()) {
if (getSelectedUsbMode() == USB_UNSELECTED_MODE) {
if (g_eeGeneral.USBMode == USB_UNSELECTED_MODE && popupMenuItemsCount == 0) {
if (g_eeGeneral.USBMode == USB_UNSELECTED_MODE) {
openUsbMenu();
}
else {