add tud_mount_cb, tud_umount_cb
remove device class/interface callback
This commit is contained in:
@@ -69,15 +69,20 @@ issue at github.com/hathach/tinyusb"
|
||||
#define MSCD_APP_RAMDISK
|
||||
#endif
|
||||
|
||||
void msc_device_app_init(void);
|
||||
void msc_device_app_task(void* param);
|
||||
void msc_app_init(void);
|
||||
void msc_app_task(void* param);
|
||||
|
||||
void msc_app_mount(uint8_t coreid);
|
||||
void msc_app_umount(uint8_t coreid);
|
||||
|
||||
extern scsi_sense_fixed_data_t mscd_sense_data;
|
||||
|
||||
#else
|
||||
|
||||
#define msc_device_app_init()
|
||||
#define msc_device_app_task(x)
|
||||
#define msc_app_init()
|
||||
#define msc_app_task(x)
|
||||
#define msc_app_mount(x)
|
||||
#define msc_app_umount(x)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user