X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e869d598719e492ca4bda9d8d2a5f80b7ff9d919..c35145bf7af3c40a160bf756d5fd8cc89e93cf5e:/armsrc/lfops.c?ds=inline diff --git a/armsrc/lfops.c b/armsrc/lfops.c index 22173059..85931aa3 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -400,7 +400,7 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol) for(;;) { //wait until SSC_CLK goes HIGH while(!(AT91C_BASE_PIOA->PIO_PDSR & GPIO_SSC_CLK)) { - if(BUTTON_PRESS() || !usb_poll_validate_length() ) { + if(BUTTON_PRESS() || usb_poll_validate_length() ) { DbpString("Stopped"); return; } @@ -417,7 +417,7 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol) //wait until SSC_CLK goes LOW while(AT91C_BASE_PIOA->PIO_PDSR & GPIO_SSC_CLK) { - if( BUTTON_PRESS() || !usb_poll_validate_length() ) { + if( BUTTON_PRESS() || usb_poll_validate_length() ) { DbpString("Stopped"); return; }