android: Fix typo and syntax in comments Fix a typo and add missing commas. Also, delete a blank line at the end of the file and use /* */ for comments consistently. Closes #1071 Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
diff --git a/android/examples/unrooted_android.c b/android/examples/unrooted_android.c index e4d52ba..33793c7 100644 --- a/android/examples/unrooted_android.c +++ b/android/examples/unrooted_android.c
@@ -24,12 +24,12 @@ /* * This example creates a shared object which can be accessed over JNA or JNI from Java or Kotlin in Android. - * Hint: If you are using Android Studio set the "Debug type" to "Java Only" to receive debug messages. + * Hint: If you are using Android Studio, set the "Debug type" to "Java Only" to receive debug messages. */ /* * Usage: - * First you have to connect your USB device from the Java side. + * First, you have to connect your USB device from the Java side. * Use the android.hardware.usb class to find the USB device, claim the interfaces, and open the usb_device_connection * Obtain the native File Descriptor --> usb_device_connection.getFileDescriptor() * Pass the received int value to the unrooted_usb_description method of this code (over JNA) @@ -270,7 +270,7 @@ } -// fileDescriptor = is the native File Descriptor obtained in Java and transfered to native over JNA for Example. +/* fileDescriptor = the native file descriptor obtained in Java and transferred to native over JNA, for example */ int unrooted_usb_description(int fileDescriptor) { libusb_context *ctx = NULL; @@ -298,4 +298,3 @@ print_device(libusb_get_device(devh), devh); return r; } -
diff --git a/libusb/version_nano.h b/libusb/version_nano.h index f38faa3..3806cf8 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h
@@ -1 +1 @@ -#define LIBUSB_NANO 11707 +#define LIBUSB_NANO 11708