mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +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
|
||||||
#endif
|
#endif
|
||||||
*uart_communication(void *targ) {
|
*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;
|
size_t rxlen, totallen = 0;
|
||||||
UsbCommand rx;
|
UsbCommand rx;
|
||||||
UsbCommand *prx = ℞
|
UsbCommand *prx = ℞
|
||||||
|
@ -236,7 +236,7 @@ __attribute__((force_align_arg_pointer))
|
||||||
disableAppNap("Proxmark3 polling UART");
|
disableAppNap("Proxmark3 polling UART");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (conn->run) {
|
while (connection->run) {
|
||||||
rxlen = 0;
|
rxlen = 0;
|
||||||
bool ACK_received = false;
|
bool ACK_received = false;
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ __attribute__((force_align_arg_pointer))
|
||||||
|
|
||||||
pthread_mutex_lock(&txBufferMutex);
|
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 we just received an ACK, wait here until a new command is to be transmitted
|
||||||
if (ACK_received) {
|
if (ACK_received) {
|
||||||
while (!txBuffer_pending) {
|
while (!txBuffer_pending) {
|
||||||
|
|
Loading…
Reference in a new issue