mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
rename msc device app function
This commit is contained in:
parent
3a8dce013d
commit
6d2eb50c0d
@ -69,6 +69,7 @@ void os_none_start_scheduler(void)
|
||||
tusb_task_runner();
|
||||
led_blinking_task(NULL);
|
||||
|
||||
mscd_app_task(NULL);
|
||||
keyboardd_app_task(NULL);
|
||||
moused_app_task(NULL);
|
||||
cdcd_serial_app_task(NULL);
|
||||
@ -86,7 +87,7 @@ int main(void)
|
||||
//------------- application task init -------------//
|
||||
led_blinking_init();
|
||||
|
||||
msc_dev_app_init();
|
||||
mscd_app_init();
|
||||
keyboardd_app_init();
|
||||
moused_app_init();
|
||||
cdcd_serial_app_init();
|
||||
|
@ -149,8 +149,14 @@ msc_csw_status_t tusbd_msc_scsi_cb (uint8_t coreid, uint8_t lun, uint8_t scsi_cm
|
||||
//--------------------------------------------------------------------+
|
||||
// IMPLEMENTATION
|
||||
//--------------------------------------------------------------------+
|
||||
OSAL_TASK_FUNCTION( mscd_app_task , p_task_para)
|
||||
{ // no need to implement the task yet
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
|
||||
void msc_dev_app_init (void)
|
||||
OSAL_TASK_LOOP_END
|
||||
}
|
||||
|
||||
void mscd_app_init (void)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -72,15 +72,15 @@ issue at github.com/hathach/tinyusb"
|
||||
#define MSCD_APP_RAMDISK
|
||||
#endif
|
||||
|
||||
void msc_dev_app_init(void);
|
||||
OSAL_TASK_FUNCTION( msc_dev_app_task , p_task_para);
|
||||
void mscd_app_init(void);
|
||||
OSAL_TASK_FUNCTION( mscd_app_task , p_task_para);
|
||||
|
||||
extern scsi_sense_fixed_data_t mscd_sense_data;
|
||||
|
||||
#else
|
||||
|
||||
#define msc_dev_app_init()
|
||||
#define msc_dev_app_task(x)
|
||||
#define mscd_app_init()
|
||||
#define mscd_app_task(x)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user