X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f5c645296c837c85ff915a615cf1fd3193b91d7d..24f730fce3f2022762011d795c3feada5ef874b3:/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h b/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h index 7334aca4e..df01dac8a 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h @@ -8,7 +8,7 @@ /* Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - Copyright 2009 Matthias Hullin (matthias [at] hullin [dot] net) + Copyright 2009 Matthias Hullin (lufa [at] matthias [dot] hullin [dot] net) Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby @@ -72,7 +72,7 @@ #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ - #define LEDMASK_USB_BUSY (LEDS_LED2) + #define LEDMASK_USB_BUSY LEDS_LED2 /** Total number of logical drives within the device - must be non-zero. */ #define TOTAL_LUNS 1 @@ -91,7 +91,7 @@ bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo); bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID, - void* ReportData, uint16_t* ReportSize); + const uint8_t ReportType, void* ReportData, uint16_t* ReportSize); void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, const uint8_t ReportID, const void* ReportData, const uint16_t ReportSize);