diff --git a/lib/tinyusb b/lib/tinyusb index 86c445c..e362f5f 160000 --- a/lib/tinyusb +++ b/lib/tinyusb @@ -1 +1 @@ -Subproject commit 86c445cd71133e2c6c659707845fe6b088b0cf6f +Subproject commit e362f5fd64d257e3ad70962be59fc8593a0f5d95 diff --git a/src/usb/msc_uf2.c b/src/usb/msc_uf2.c index 963cfce..ac6f92c 100644 --- a/src/usb/msc_uf2.c +++ b/src/usb/msc_uf2.c @@ -50,17 +50,6 @@ void read_block(uint32_t block_no, uint8_t *data); int write_block(uint32_t block_no, uint8_t *data, bool quiet/*, WriteState *state*/); -/*------------------------------------------------------------------*/ -/* VARIABLES - *------------------------------------------------------------------*/ -static scsi_mode_parameters_t const msc_dev_mode_para = -{ - .mode_data_length = 3, - .medium_type = 0, - .device_specific_para = 0, - .block_descriptor_length = 0 -}; - /*------------------------------------------------------------------*/ /* API *------------------------------------------------------------------*/ @@ -94,11 +83,6 @@ int32_t tud_msc_scsi_cb (uint8_t lun, uint8_t const scsi_cmd[16], void* buffer, switch (scsi_cmd[0]) { - case SCSI_CMD_MODE_SENSE_6: - ptr = &msc_dev_mode_para; - len = sizeof(msc_dev_mode_para); - break; - case SCSI_CMD_TEST_UNIT_READY: // Command that host uses to check our readiness before sending other commands len = 0;