summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2019-12-11 10:32:12 -0600
committerJohn Klug <john.klug@multitech.com>2020-06-21 04:09:32 -0500
commitd0c53bea1ee4a9e1d1706cd62bec1d658f3cd444 (patch)
treeeb5c72798d4d0f309d40122fb8f69f876122b300
parent26ab31b11d5fe54dd32295fcce9b55ef2fc647d2 (diff)
downloadmeta-multitech-d0c53bea1ee4a9e1d1706cd62bec1d658f3cd444.tar.gz
meta-multitech-d0c53bea1ee4a9e1d1706cd62bec1d658f3cd444.tar.bz2
meta-multitech-d0c53bea1ee4a9e1d1706cd62bec1d658f3cd444.zip
xdot-util: add hw detect to reset functions compatible with dev and non-dev cards
-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.