clean up example

This commit is contained in:
hathach
2018-03-11 14:37:01 +07:00
parent 3582d2301d
commit fd250b92cb
14 changed files with 105 additions and 162 deletions

View File

@@ -89,17 +89,17 @@ static scsi_mode_parameters_t const msc_dev_mode_para =
//--------------------------------------------------------------------+
// tinyusb callbacks
//--------------------------------------------------------------------+
void msc_app_mount(uint8_t coreid)
void msc_app_mount(uint8_t port)
{
}
void msc_app_umount(uint8_t coreid)
void msc_app_umount(uint8_t port)
{
}
msc_csw_status_t tud_msc_scsi_cb (uint8_t coreid, uint8_t lun, uint8_t scsi_cmd[16], void const ** pp_buffer, uint16_t* p_length)
msc_csw_status_t tud_msc_scsi_cb (uint8_t port, uint8_t lun, uint8_t scsi_cmd[16], void const ** pp_buffer, uint16_t* p_length)
{
// read10 & write10 has their own callback and MUST not be handled here
switch (scsi_cmd[0])