forked from PAWPAW-Mirror/lib_xua
Explicitly select the PC connector to begin with (as connections to the USB B cannot actively be detected) for designs where the USB B is selected by driving the switch high (#13887)
This commit is contained in:
@@ -129,6 +129,7 @@ void usb_midi(buffered in port:1 ?p_midi_in, port ?p_midi_out,
|
||||
#ifdef IAP
|
||||
iAPTimer :> polltime;
|
||||
polltime += XS1_TIMER_HZ / 2;
|
||||
SelectUSBPc(); // Select the PC connector to begin with, as we cannot actively detect connections to the USB B
|
||||
#endif
|
||||
while (1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user