mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
style
This commit is contained in:
parent
cabbed8b91
commit
56673c29d3
1 changed files with 2 additions and 2 deletions
|
@ -725,7 +725,7 @@ bool WaitForResponseTimeoutW(uint32_t cmd, PacketResponseNG *response, size_t ms
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t tmp_clk = __atomic_load_n(&timeout_start_time, __ATOMIC_SEQ_CST);
|
uint64_t tmp_clk = __atomic_load_n(&timeout_start_time, __ATOMIC_SEQ_CST);
|
||||||
if ((ms_timeout != (size_t) -1) && (msclock() - tmp_clk > ms_timeout))
|
if ((ms_timeout != (size_t) - 1) && (msclock() - tmp_clk > ms_timeout))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (msclock() - tmp_clk > 3000 && show_warning) {
|
if (msclock() - tmp_clk > 3000 && show_warning) {
|
||||||
|
@ -807,7 +807,7 @@ static bool dl_it(uint8_t *dest, uint32_t bytes, PacketResponseNG *response, siz
|
||||||
__atomic_store_n(&timeout_start_time, msclock(), __ATOMIC_SEQ_CST);
|
__atomic_store_n(&timeout_start_time, msclock(), __ATOMIC_SEQ_CST);
|
||||||
|
|
||||||
// Add delay depending on the communication channel & speed
|
// Add delay depending on the communication channel & speed
|
||||||
if (ms_timeout != (size_t) -1)
|
if (ms_timeout != (size_t) - 1)
|
||||||
ms_timeout += communication_delay();
|
ms_timeout += communication_delay();
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue