forked from PAWPAW-Mirror/lib_xua
Call to check_iAP_timeout() added to iAPTimer case in usb_midi.xc, as is done in iap.xc.
This should ensure that that iAP2 timeouts happen correctly in iAP + MIDI builds.
This commit is contained in:
@@ -352,7 +352,10 @@ void usb_midi(buffered in port:1 ?p_midi_in, port ?p_midi_out,
|
|||||||
|
|
||||||
/* Slow timer looking for IDevice plug/unplug event */
|
/* Slow timer looking for IDevice plug/unplug event */
|
||||||
case iAPTimer when timerafter(polltime) :> void:
|
case iAPTimer when timerafter(polltime) :> void:
|
||||||
iap_handle_poll_dev_det(iAPTimer);
|
if (!iap_handle_poll_dev_det(iAPTimer))
|
||||||
|
{
|
||||||
|
check_iAP_timeout(iap_outgoing_buffer, c_iap);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user