aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-07-11 05:49:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-07-11 05:49:53 +0000
commit3309c00a99cca6d4a903aed9ecd092346b767ea0 (patch)
tree0704c804ca06e5ed0d9566b85e8826fbab85a256 /Demos/Host/Incomplete
parent55aadf97d5d2bd86f2a0c3a53d4608c0cf96471e (diff)
downloadlufa-3309c00a99cca6d4a903aed9ecd092346b767ea0.tar.gz
lufa-3309c00a99cca6d4a903aed9ecd092346b767ea0.tar.bz2
lufa-3309c00a99cca6d4a903aed9ecd092346b767ea0.zip
Minor demo/project documentation and style fixes.
Diffstat (limited to 'Demos/Host/Incomplete')
-rw-r--r--Demos/Host/Incomplete/AndroidAccessoryHost/DeviceDescriptor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/Incomplete/AndroidAccessoryHost/DeviceDescriptor.c b/Demos/Host/Incomplete/AndroidAccessoryHost/DeviceDescriptor.c
index 360dfad30..be6bf1023 100644
--- a/Demos/Host/Incomplete/AndroidAccessoryHost/DeviceDescriptor.c
+++ b/Demos/Host/Incomplete/AndroidAccessoryHost/DeviceDescriptor.c
@@ -41,7 +41,7 @@
*
* This routine checks to ensure that the attached device's VID and PID matches Google's for Android devices.
*
- * \return An error code from the \ref BluetoothHost_GetDeviceDescriptorDataCodes_t enum.
+ * \return An error code from the \ref AndroidHost_GetDeviceDescriptorDataCodes_t enum.
*/
uint8_t ProcessDeviceDescriptor(void)
{
@@ -55,9 +55,9 @@ uint8_t ProcessDeviceDescriptor(void)
if (DeviceDescriptor.Header.Type != DTYPE_Device)
return InvalidDeviceDataReturned;
- /* Validate returned device Class, SubClass and Protocol values against the Bluetooth spec values */
+ /* Validate returned device Vendor ID against the Android ADK spec values */
if (DeviceDescriptor.VendorID != ANDROID_VENDOR_ID)
- return IncorrectAndroidDevice;
+ return IncorrectAndroidDevice;
/* Check the product ID to determine if the Android device is in accessory mode */
if ((DeviceDescriptor.ProductID != ANDROID_ACCESSORY_PRODUCT_ID) &&