summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mtac-xdot
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2019-12-11 10:32:12 -0600
committerJason Reiss <jreiss@multitech.com>2019-12-11 10:32:12 -0600
commit360824facdae081305d6fbb7601f22f5ecc00203 (patch)
treeeb5c72798d4d0f309d40122fb8f69f876122b300 /recipes-bsp/multitech/mtac-xdot
parent86a9523431b1a1fd530b6039fd74853411323877 (diff)
downloadmeta-multitech-360824facdae081305d6fbb7601f22f5ecc00203.tar.gz
meta-multitech-360824facdae081305d6fbb7601f22f5ecc00203.tar.bz2
meta-multitech-360824facdae081305d6fbb7601f22f5ecc00203.zip
xdot-util: add hw detect to reset functions compatible with dev and non-dev cards
Diffstat (limited to 'recipes-bsp/multitech/mtac-xdot')
-rwxr-xr-xrecipes-bsp/multitech/mtac-xdot/xdot-util2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mtac-xdot/xdot-util b/recipes-bsp/multitech/mtac-xdot/xdot-util
index 9163680..f805305 100755
--- a/recipes-bsp/multitech/mtac-xdot/xdot-util
+++ b/recipes-bsp/multitech/mtac-xdot/xdot-util
@@ -59,9 +59,11 @@ case "$1" in
echo Mounted at $TEMP_DIR
;;
"reset")
+ detect_hw
reset
;;
"usb-reset")
+ detect_hw
usb_reset
;;
*) ## If no parameters are given, print which are avaiable.