Minor documentation page updates.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Device / HID.h
index 4501fcb..9a2f803 100644 (file)
 \r
                #include <string.h>\r
 \r
 \r
                #include <string.h>\r
 \r
+       /* Enable C linkage for C++ Compilers: */\r
+               #if defined(__cplusplus)\r
+                       extern "C" {\r
+               #endif\r
+\r
        /* Macros: */\r
                /** HID Class Specific Request to get the current HID report from the device. */\r
                #define REQ_GetReport      0x01\r
        /* Macros: */\r
                /** HID Class Specific Request to get the current HID report from the device. */\r
                #define REQ_GetReport      0x01\r
                uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData);\r
                void     CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData, uint16_t ReportSize);\r
 \r
                uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData);\r
                void     CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData, uint16_t ReportSize);\r
 \r
+       /* Disable C linkage for C++ Compilers: */\r
+               #if defined(__cplusplus)\r
+                       }\r
+               #endif\r
+               \r
 #endif\r
 #endif\r