Skip to content

Commit

Permalink
send_cmd always logs sent 0x00 to controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ballle98 committed May 20, 2024
1 parent 77638e1 commit 692f9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aq_programmer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 692f9ec

Please sign in to comment.