Remove obsoleted code
This commit is contained in:
committed by
Raphael Coeffic
parent
cee24fe013
commit
6b9abe0670
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user