From c615e626521bcec2e21e8a44c3381968ebb27042 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Wed, 8 Aug 2012 20:53:54 +0200 Subject: [PATCH] Now works with hubs --- RFCOMM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RFCOMM.cpp b/RFCOMM.cpp index e02b4a21..30ecfffd 100644 --- a/RFCOMM.cpp +++ b/RFCOMM.cpp @@ -242,7 +242,8 @@ FailUnknownDevice: #ifdef DEBUG Notify(PSTR("\r\nUnknown Device Connected:")); #endif - rcode = -1; + pUsb->setAddr(bAddress, 0, 0); + rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED; goto Fail; Fail: #ifdef DEBUG