User Activity

I generate code for STM32F105RBT using cubemx(5.30) and USB Host MSC FATFS setting, now its work about connect and disconnect flash stick but alwayse Appli_state is in APPLICATION_IDLE,.is something should i do to for APPLICATION_READY??while (1) { ...