projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHG: this makefile should compile on Ubuntu 1404 without problems. The QT4-5 detect...
[proxmark3-svn]
/
bootrom
/
bootrom.c
diff --git
a/bootrom/bootrom.c
b/bootrom/bootrom.c
index 7f4aa17811290496b314434b1e54b5bc082b6fb6..b522a1640365ad74adcbbd83cacfb646070494eb 100644
(file)
--- a/
bootrom/bootrom.c
+++ b/
bootrom/bootrom.c
@@
-148,7
+148,7
@@
void UsbPacketReceived(uint8_t *packet, int len) {
while(!((sr = AT91C_BASE_EFC0->EFC_FSR) & AT91C_MC_FRDY));
if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
dont_ack = 1;
while(!((sr = AT91C_BASE_EFC0->EFC_FSR) & AT91C_MC_FRDY));
if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
dont_ack = 1;
- cmd_send(CMD_NACK,
0
,0,0,0,0);
+ cmd_send(CMD_NACK,
sr
,0,0,0,0);
}
}
} break;
}
}
} break;
Impressum
,
Datenschutz