From 3cb49f4ab728ffbe2f7c537fc11d649911c42536 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 16 May 2009 15:33:22 +0000 Subject: 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 --- firmware/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/usb.c b/firmware/usb.c index bb00a1be5f..f115a92407 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -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: -- cgit v1.2.3