mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
make style (hmm not perfect, we'll have to live with it I guess)
This commit is contained in:
parent
f8de50f5c9
commit
3dd1f1c78c
1 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ uint32_t usart_read_ng(uint8_t *data, size_t len) {
|
|||
// uint32_t highest_observed_try = 0;
|
||||
// Empirical max try observed: 3000000 / USART_BAUD_RATE
|
||||
// Let's take 10x
|
||||
uint32_t maxtry = 10 * ( 3000000 / USART_BAUD_RATE );
|
||||
uint32_t maxtry = 10 * (3000000 / USART_BAUD_RATE);
|
||||
|
||||
while (len) {
|
||||
uint32_t available = usart_rxdata_available();
|
||||
|
@ -120,8 +120,8 @@ uint32_t usart_read_ng(uint8_t *data, size_t len) {
|
|||
}
|
||||
if (try++ == maxtry) {
|
||||
// Dbprintf_usb("Dbg USART TIMEOUT");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
// highest_observed_try = MAX(highest_observed_try, try);
|
||||
// Dbprintf_usb("Dbg USART max observed try %i", highest_observed_try);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue