fix DEBUGF statement to print variables that actually exist (FS#10212 by Tomer Shalev)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20964 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-05-16 15:33:22 +00:00
parent 2bc6b7c5cd
commit 3cb49f4ab7

View file

@ -315,7 +315,7 @@ static void usb_thread(void)
We subtract one for our own thread. */
num_acks_to_expect = queue_broadcast(SYS_USB_CONNECTED, 0) - 1;
DEBUGF("USB inserted. Waiting for ack from %d threads...\n",
num_acks_for_connect);
num_acks_to_expect);
break;
case SYS_USB_CONNECTED_ACK: