mkii: Call /version/sw_release only for protocol version 2

Looks like command /version/sw_release is supported only by protocol version 2.
This commit is contained in:
Pali Rohár committed 2016-06-27 17:24:05 +02:00
1 parent 8a433f2d7a
commit 61d77eed68
2 files changed
+20 -11

No files matched your search

+1
View File
@@ -24,6 +24,7 @@
#include "device.h"
#include "usb-device.h"
#define MKII_SUPPORT_SW_RELEASE (1UL << 30)
#define MKII_UPDATE_MODE (1UL << 31)
int mkii_init(struct usb_device_info * dev);