disable some debug output

This commit is contained in:
iceman1001 2017-07-28 03:00:28 +02:00
parent 830796cbef
commit 9ca75c1cfd
2 changed files with 1 additions and 2 deletions

View file

@ -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);
} }

View file

@ -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);