forked from PAWPAW-Mirror/lib_xua
iap_handle_poll_dev_det() now takes incoming and outgoing buffers as parameters, no longer takes timer parameter
This commit is contained in:
@@ -353,7 +353,7 @@ void usb_midi(buffered in port:1 ?p_midi_in, port ?p_midi_out,
|
||||
|
||||
/* Slow timer looking for IDevice plug/unplug event */
|
||||
case iAPTimer when timerafter(polltime) :> void:
|
||||
if (!iap_handle_poll_dev_det(iAPTimer))
|
||||
if (!iap_handle_poll_dev_det(iap_incoming_buffer, iap_outgoing_buffer))
|
||||
{
|
||||
check_iAP_timeout(iap_outgoing_buffer, c_iap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user