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 Jun 11, 2024
1 parent 7ee2ead commit 197bf93
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 @@ -2241,7 +2241,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 197bf93

Please sign in to comment.