AnsweredAssumed Answered

problem with deinit_msc_class function

Question asked by Arth Shah on Jan 22, 2018
Latest reply on Jun 14, 2018 by Kerry Zhou

hello Kerry Zhou

i am working on USB_MSD on kl26z.

i successfully got my SD as a MSD in my kl26z freedom board.

now i want  to remove my MSD task and start other task by pressing one key.

so i am executing USB_Class_MSC_Deinit(&g_disk.app_handle); function.

it's give return value USB_OK but still my disk show as MSD and i am trying to Dettech my cable and agian attech my cable its show disk again but i don't want to show disk again without pressing key.

how m i control this functionality??

Outcomes