mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Fix receive_ng returned val test
This commit is contained in:
parent
cb411ffab4
commit
15558070ad
1 changed files with 1 additions and 1 deletions
|
@ -1569,7 +1569,7 @@ void __attribute__((noreturn)) AppMain(void) {
|
|||
// Check if there is a usb packet available
|
||||
if (usb_poll_validate_length()) {
|
||||
UsbCommandNG rx;
|
||||
if (receive_ng(&rx) == 0) {
|
||||
if (receive_ng(&rx) == PM3_SUCCESS) {
|
||||
UsbPacketReceived(&rx);
|
||||
} else {
|
||||
Dbprintf("Error in frame reception");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue