rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code
This commit is contained in:
		| @@ -316,10 +316,10 @@ static tusb_error_t pipe_control_xfer(uint8_t ep_id, uint8_t* p_buffer, uint16_t | ||||
|  | ||||
|   if (ep_id) | ||||
|   { | ||||
|     ASSERT_ERR ( pipe_control_write(p_buffer, packet_len) ); | ||||
|     TU_ASSERT_ERR ( pipe_control_write(p_buffer, packet_len) ); | ||||
|   }else | ||||
|   { | ||||
|     ASSERT_ERR ( pipe_control_read(p_buffer, packet_len) ); | ||||
|     TU_ASSERT_ERR ( pipe_control_read(p_buffer, packet_len) ); | ||||
|   } | ||||
|  | ||||
|   dcd_data.control_dma.remaining_bytes -= packet_len; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach