Fix all device mode demos broken in the recent API changes.
[pub/USBasp.git] / Demos / Device / MassStorage / MassStorage.c
index 82e7e8a..72a2302 100644 (file)
@@ -86,7 +86,7 @@ int main(void)
 }\r
 \r
 /** Event handler for the USB_Connect event. This indicates that the device is enumerating via the status LEDs. */\r
-void EventHandler_USB_Connect(void)\r
+void EVENT_USB_Connect(void)\r
 {\r
        /* Indicate USB enumerating */\r
        UpdateStatus(Status_USBEnumerating);\r
@@ -98,7 +98,7 @@ void EventHandler_USB_Connect(void)
 /** Event handler for the USB_Disconnect event. This indicates that the device is no longer connected to a host via\r
  *  the status LEDs and stops the Mass Storage management task.\r
  */\r
-void EventHandler_USB_Disconnect(void)\r
+void EVENT_USB_Disconnect(void)\r
 {\r
        /* Stop running mass storage task */\r
        Scheduler_SetTaskMode(USB_MassStorage, TASK_STOP);\r
@@ -110,7 +110,7 @@ void EventHandler_USB_Disconnect(void)
 /** Event handler for the USB_ConfigurationChanged event. This is fired when the host set the current configuration\r
  *  of the USB device after enumeration - the device endpoints are configured and the Mass Storage management task started.\r
  */\r
-void EventHandler_USB_ConfigurationChanged(void)\r
+void EVENT_USB_ConfigurationChanged(void)\r
 {\r
        /* Setup Mass Storage In and Out Endpoints */\r
        Endpoint_ConfigureEndpoint(MASS_STORAGE_IN_EPNUM, EP_TYPE_BULK,\r
@@ -132,7 +132,7 @@ void EventHandler_USB_ConfigurationChanged(void)
  *  control requests that are not handled internally by the USB library (including the Mass Storage class-specific\r
  *  requests) so that they can be handled appropriately for the application.\r
  */\r
-void EventHandler_USB_UnhandledControlPacket(void)\r
+void EVENT_USB_UnhandledControlPacket(void)\r
 {\r
        /* Process UFI specific control requests */\r
        switch (USB_ControlRequest.bRequest)\r