log clean up
This commit is contained in:
		@@ -442,9 +442,9 @@ uint8_t tuh_hid_parse_report_descriptor(tuh_hid_report_info_t* report_info_arr,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    uint8_t const data8 = desc_report[0];
 | 
					    uint8_t const data8 = desc_report[0];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    TU_LOG2("tag = %d, type = %d, size = %d, data = ", tag, type, size);
 | 
					    TU_LOG(3, "tag = %d, type = %d, size = %d, data = ", tag, type, size);
 | 
				
			||||||
    for(uint32_t i=0; i<size; i++) TU_LOG2("%02X ", desc_report[i]);
 | 
					    for(uint32_t i=0; i<size; i++) TU_LOG(3, "%02X ", desc_report[i]);
 | 
				
			||||||
    TU_LOG2("\r\n");
 | 
					    TU_LOG(3, "\r\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    switch(type)
 | 
					    switch(type)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -146,15 +146,13 @@ static void hw_handle_buff_status(void)
 | 
				
			|||||||
        uint32_t ep_ctrl = *ep->endpoint_control;
 | 
					        uint32_t ep_ctrl = *ep->endpoint_control;
 | 
				
			||||||
        if (ep_ctrl & EP_CTRL_DOUBLE_BUFFERED_BITS)
 | 
					        if (ep_ctrl & EP_CTRL_DOUBLE_BUFFERED_BITS)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          TU_LOG(2, "Double Buffered ");
 | 
					          TU_LOG(3, "Double Buffered: ");
 | 
				
			||||||
        }else
 | 
					        }else
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          TU_LOG(2, "Single Buffered ");
 | 
					          TU_LOG(3, "Single Buffered: ");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (ep_ctrl & EP_CTRL_INTERRUPT_PER_DOUBLE_BUFFER) TU_LOG(2, "Interrupt per double ");
 | 
					        TU_LOG_HEX(3, ep_ctrl);
 | 
				
			||||||
        if (ep_ctrl & EP_CTRL_INTERRUPT_PER_BUFFER) TU_LOG(2, "Interrupt per single ");
 | 
					 | 
				
			||||||
        TU_LOG_HEX(2, ep_ctrl);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        _handle_buff_status_bit(bit, ep);
 | 
					        _handle_buff_status_bit(bit, ep);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user