mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
unshadow
This commit is contained in:
parent
a1d9b574fd
commit
7f0b1eacd1
1 changed files with 3 additions and 3 deletions
|
@ -225,7 +225,7 @@ __attribute__((force_align_arg_pointer))
|
|||
#endif
|
||||
#endif
|
||||
*uart_communication(void *targ) {
|
||||
communication_arg_t *conn = (communication_arg_t *)targ;
|
||||
communication_arg_t *connection = (communication_arg_t *)targ;
|
||||
size_t rxlen, totallen = 0;
|
||||
UsbCommand rx;
|
||||
UsbCommand *prx = ℞
|
||||
|
@ -236,7 +236,7 @@ __attribute__((force_align_arg_pointer))
|
|||
disableAppNap("Proxmark3 polling UART");
|
||||
#endif
|
||||
|
||||
while (conn->run) {
|
||||
while (connection->run) {
|
||||
rxlen = 0;
|
||||
bool ACK_received = false;
|
||||
|
||||
|
@ -263,7 +263,7 @@ __attribute__((force_align_arg_pointer))
|
|||
|
||||
pthread_mutex_lock(&txBufferMutex);
|
||||
|
||||
if (conn->block_after_ACK) {
|
||||
if (connection->block_after_ACK) {
|
||||
// if we just received an ACK, wait here until a new command is to be transmitted
|
||||
if (ACK_received) {
|
||||
while (!txBuffer_pending) {
|
||||
|
|
Loading…
Reference in a new issue