Rewritten event system to remove all macros, to make user code clearer.
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / StdDescriptors.c
index 82ef7a7..ae8cc71 100644 (file)
@@ -36,7 +36,7 @@
 \r
 uint16_t USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)\r
 {\r
-       RAISE_EVENT(USB_DeviceError, DEVICE_ERROR_GetDescriptorNotHooked);\r
+       EVENT_USB_DeviceError(DEVICE_ERROR_GetDescriptorNotHooked);\r
 \r
        return 0;\r
 };\r