From 7d7f639e1a7a76e93ac4e3239cab3ccd0869e805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B7=9C=ED=98=95?= Date: Thu, 1 Jun 2017 16:29:29 +0900 Subject: [PATCH] = --- scripts/thread_func.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/thread_func.sh b/scripts/thread_func.sh index 7625fcd..6999cae 100755 --- a/scripts/thread_func.sh +++ b/scripts/thread_func.sh @@ -45,7 +45,6 @@ function thread_tty() THREAD_FUNC_NAME=${FUNCNAME} sleep 1 - echo $2 $3 echo "Send: [${SEND_MESSAGE}]" echo "${SEND_MESSAGE}" > ${DEV_TTY_PATH} @@ -58,14 +57,11 @@ function thread_rs485() echo " @@@ [${FUNCNAME}] @@@" echo "" - DEV_RS485_PATH=$2 - SEND_MESSAGE=$3 + DEV_RS485_PATH="$2" + SEND_MESSAGE="$3" THREAD_FUNC_NAME=${FUNCNAME} - echo $SEND_MESSAGE $DEV_RS485_PATH - echo ${SEND_MESSAGE} ${DEV_RS485_PATH} - sleep 1 echo "Send: [${SEND_MESSAGE}]" echo "${SEND_MESSAGE}" > ${DEV_RS485_PATH} @@ -82,7 +78,6 @@ function main() error_check $? ${COMPLETE_TEST_NAME} ;; tty) - echo $2 $3 thread_tty $@ error_check $? ${COMPLETE_TEST_NAME} ;; -- 2.1.4