summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-01 19:16:50 +0700
committerhathach <[email protected]>2020-09-01 19:16:50 +0700
commit84425c50b3bb5c892bfab9d094cc3da6a9c04da5 (patch)
tree6e8a46cb5259ea57078381ea8c64c4c3e4b348ca /src/class
parentf4e3c6fd8ee125123e2cfa704d61dab34be576c5 (diff)
add more logging to host stack
tested host with lpc4357, don't use fpu with lpc m4 since it seems to cause hardfault (stack does not make use of fpu anyway).
Diffstat (limited to 'src/class')
-rw-r--r--src/class/msc/msc_host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c
index 98c71eb70..3aa697b17 100644
--- a/src/class/msc/msc_host.c
+++ b/src/class/msc/msc_host.c
@@ -310,6 +310,7 @@ bool msch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *it
(*p_length) += sizeof(tusb_desc_interface_t) + 2*sizeof(tusb_desc_endpoint_t);
//------------- Get Max Lun -------------//
+ TU_LOG2("MSC Get Max Lun\r\n");
tusb_control_request_t request = {
.bmRequestType_bit = { .recipient = TUSB_REQ_RCPT_INTERFACE, .type = TUSB_REQ_TYPE_CLASS, .direction = TUSB_DIR_IN },
.bRequest = MSC_REQ_GET_MAX_LUN,