disable some debug output
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user