+ /* Device must be connected and configured for the task to run */\r
+ if (USB_DeviceState != DEVICE_STATE_Configured)\r
+ return;\r
+\r
+ /* Select the SideShow data out endpoint */\r
+ Endpoint_SelectEndpoint(SIDESHOW_OUT_EPNUM);\r
+ \r
+ /* Check to see if a new SideShow message has been received */\r
+ if (Endpoint_IsReadWriteAllowed())\r