mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
make style helped revealing my bug :)
This commit is contained in:
parent
64ce30c06c
commit
07cc0d0a29
1 changed files with 3 additions and 2 deletions
|
@ -1559,12 +1559,13 @@ 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()) {
|
||||||
if (usb_read(rx, sizeof(rx)))
|
if (usb_read(rx, sizeof(rx))) {
|
||||||
#ifdef WITH_FPC_HOST
|
#ifdef WITH_FPC_HOST
|
||||||
reply_via_fpc = 0;
|
reply_via_fpc = 0;
|
||||||
#endif
|
#endif
|
||||||
UsbPacketReceived(rx, sizeof(rx));
|
UsbPacketReceived(rx, sizeof(rx));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#ifdef WITH_FPC_HOST
|
#ifdef WITH_FPC_HOST
|
||||||
// Check if there is a FPC packet available
|
// Check if there is a FPC packet available
|
||||||
if (usart_readcommand(rx) > 0) {
|
if (usart_readcommand(rx) > 0) {
|
||||||
|
|
Loading…
Reference in a new issue