From 692f9ecb34c235fcafb51d36d88bf96491b55172 Mon Sep 17 00:00:00 2001 From: Lee Ballard Date: Wed, 25 Sep 2019 12:31:53 -0500 Subject: [PATCH] send_cmd always logs sent 0x00 to controller --- aq_programmer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aq_programmer.c b/aq_programmer.c index ee3b9a28..1feebc4c 100644 --- a/aq_programmer.c +++ b/aq_programmer.c @@ -2229,7 +2229,7 @@ bool send_cmd(unsigned char cmd) } } if (ret) { - LOG(PROG_LOG, LOG_INFO, "sent '0x%02hhx' to controller\n", _pgm_command); + LOG(PROG_LOG, LOG_INFO, "sent '0x%02hhx' to controller\n", cmd); } pthread_mutex_unlock(&_pgm_command_mutex); return ret;