summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-11-21 17:48:01 +0100
committerPali Rohár <pali.rohar@gmail.com>2014-11-21 17:48:01 +0100
commit2c155350999f8cb89b2912050431403d199350f8 (patch)
tree5364cd511acf4718863290ca90d5da8a5890d620 /src
parent8369f94195142fc2da816f401ee7843f90677e54 (diff)
download0xFFFF-2c155350999f8cb89b2912050431403d199350f8.tar.bz2
operations: Enable mkii_get_sw_ver
Diffstat (limited to 'src')
-rw-r--r--src/operations.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/operations.c b/src/operations.c
index 10ad975..85d1e3d 100644
--- a/src/operations.c
+++ b/src/operations.c
@@ -602,6 +602,8 @@ int dev_get_sw_ver(struct device_info * dev, char * ver, size_t size) {
if ( protocol == FLASH_NOLO )
return nolo_get_sw_ver(dev->usb, ver, size);
+ else if ( protocol == FLASH_MKII )
+ return mkii_get_sw_ver(dev->usb, ver, size);
}