whitespace changes, set USDMSD up to receive USB reset/suspend/connect etc
[clinton/Smoothieware.git] / src / libs / USBDevice / USBMSD / USBMSD.h
index 8033b13..c60eb48 100644 (file)
@@ -62,7 +62,7 @@
  * such as the number of blocks and the memory size.\r
  */\r
 \r
-class USBMSD: public USB_Endpoint_Receiver, public Module {\r
+class USBMSD: public USB_State_Receiver, public USB_Endpoint_Receiver, public Module {\r
 public:\r
 \r
     /**\r
@@ -85,6 +85,9 @@ public:
     bool USBEvent_RequestComplete(CONTROL_TRANSFER&, uint8_t *, uint32_t);\r
     bool USBEvent_EPIn(uint8_t, uint8_t);\r
     bool USBEvent_EPOut(uint8_t, uint8_t);\r
+    bool USBEvent_busReset(void);\r
+    bool USBEvent_connectStateChanged(bool connected);\r
+    bool USBEvent_suspendStateChanged(bool suspended);\r
 \r
     virtual void on_module_loaded(void);\r
 \r