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 29, 2023
1 parent 3531935 commit e8a2ccf
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 e8a2ccf

Please sign in to comment.