mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
usart working... when debugged...
This commit is contained in:
parent
7ca1e98776
commit
6e744043f5
9 changed files with 162 additions and 118 deletions
|
@ -227,8 +227,8 @@ int16_t receive_ng(PacketCommandNG *rx) {
|
|||
|
||||
#ifdef WITH_FPC_HOST
|
||||
// Check if there is a FPC packet available
|
||||
return receive_ng_internal(rx, usart_read_ng, true);
|
||||
#else
|
||||
return PM3_ENODATA;
|
||||
if (usart_rxdata_available() > 0)
|
||||
return receive_ng_internal(rx, usart_read_ng, true);
|
||||
#endif
|
||||
return PM3_ENODATA;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue