mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-21 04:29:53 +08:00
disable some debug output
This commit is contained in:
parent
830796cbef
commit
9ca75c1cfd
2 changed files with 1 additions and 2 deletions
|
@ -1499,7 +1499,6 @@ void __attribute__((noreturn)) AppMain(void)
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if ( usb_poll_validate_length() ) {
|
if ( usb_poll_validate_length() ) {
|
||||||
rx_len = usb_read(rx, sizeof(UsbCommand));
|
rx_len = usb_read(rx, sizeof(UsbCommand));
|
||||||
Dbprintf("ice recive len: %u", rx_len);
|
|
||||||
if (rx_len) {
|
if (rx_len) {
|
||||||
UsbPacketReceived(rx, rx_len);
|
UsbPacketReceived(rx, rx_len);
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ static UsbCommand txcmd;
|
||||||
volatile static bool txcmd_pending = false;
|
volatile static bool txcmd_pending = false;
|
||||||
|
|
||||||
void SendCommand(UsbCommand *c) {
|
void SendCommand(UsbCommand *c) {
|
||||||
#if 1
|
#if 0
|
||||||
pthread_mutex_lock(&print_lock);
|
pthread_mutex_lock(&print_lock);
|
||||||
printf("Sending %d bytes\n", sizeof(UsbCommand));
|
printf("Sending %d bytes\n", sizeof(UsbCommand));
|
||||||
pthread_mutex_unlock(&print_lock);
|
pthread_mutex_unlock(&print_lock);
|
||||||
|
|
Loading…
Add table
Reference in a new issue