projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bc1c6
)
Implemented usb_poll() within LF sim. This means the LF sim will be aborted whenever...
77/head
author
Martin Holst Swende
<martin@swende.se>
Thu, 12 Mar 2015 15:32:01 +0000
(16:32 +0100)
committer
Martin Holst Swende
<martin@swende.se>
Thu, 12 Mar 2015 15:32:01 +0000
(16:32 +0100)
armsrc/lfops.c
patch
|
blob
|
blame
|
history
diff --git
a/armsrc/lfops.c
b/armsrc/lfops.c
index 468f58302862c1cdf6d9559f988d3176ed41ac47..16c428554a348be12ee5f648afae634243d74144 100644
(file)
--- a/
armsrc/lfops.c
+++ b/
armsrc/lfops.c
@@
-16,6
+16,7
@@
#include "string.h"
#include "lfdemod.h"
#include "lfsampling.h"
+#include "usb_cdc.h"
/**
@@
-401,7
+402,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
()) {
+
if(BUTTON_PRESS() || usb_poll
()) {
DbpString("Stopped");
return;
}
Impressum
,
Datenschutz