mirror of
https://github.com/M4TH1EU/DJI-FCC-HACK.git
synced 2025-12-30 22:10:26 +00:00
added some logging
This commit is contained in:
@@ -109,6 +109,7 @@ class MainActivity : ComponentActivity() {
|
||||
private fun refreshUsbConnection() {
|
||||
if (usbManager.deviceList.isNotEmpty()) {
|
||||
val device: UsbDevice = usbManager.deviceList.values.first()
|
||||
Log.d("USB_CONNECTION", device.vendorId.toString() + ":" + device.productId.toString())
|
||||
|
||||
// Check to be sure the device is the initialized DJI Remote (and not another USB device)
|
||||
if (device.productId != 4128) {
|
||||
|
||||
Reference in New Issue
Block a user