mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -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
|
// Check if there is a usb packet available
|
||||||
if (usb_poll_validate_length()) {
|
if (usb_poll_validate_length()) {
|
||||||
UsbCommandNG rx;
|
UsbCommandNG rx;
|
||||||
if (receive_ng(&rx) == 0) {
|
if (receive_ng(&rx) == PM3_SUCCESS) {
|
||||||
UsbPacketReceived(&rx);
|
UsbPacketReceived(&rx);
|
||||||
} else {
|
} else {
|
||||||
Dbprintf("Error in frame reception");
|
Dbprintf("Error in frame reception");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue