"Joystick Pressed\r\n",\r
};\r
\r
+ /* Device must be connected and configured for the task to run */\r
+ if (!(USB_IsConnected) || !(USB_ConfigurationNumber))\r
+ return;\r
+ \r
#if 0\r
/* NOTE: Here you can use the notification endpoint to send back line state changes to the host, for the special RS-232\r
* handshake signal lines (and some error states), via the CONTROL_LINE_IN_* masks and the following code:\r