projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
GenericHIDHost
/
GenericHIDHost.h
diff --git
a/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.h
b/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.h
index
8d0674e
..
489fba8
100644
(file)
--- a/
Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.h
+++ b/
Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.h
@@
-53,12
+53,6
@@
#include "ConfigDescriptor.h"
/* Macros: */
#include "ConfigDescriptor.h"
/* Macros: */
- /** Pipe number for the HID data IN pipe. */
- #define HID_DATA_IN_PIPE 1
-
- /** Pipe number for the HID data OUT pipe. */
- #define HID_DATA_OUT_PIPE 2
-
/** HID Class specific request to send a HID report to the device. */
#define REQ_SetReport 0x09
/** HID Class specific request to send a HID report to the device. */
#define REQ_SetReport 0x09
@@
-90,10
+84,14
@@
void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
void EVENT_USB_Host_DeviceAttached(void);
void EVENT_USB_Host_DeviceUnattached(void);
void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
void EVENT_USB_Host_DeviceAttached(void);
void EVENT_USB_Host_DeviceUnattached(void);
- void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);
+ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
+ const uint8_t SubErrorCode);
void EVENT_USB_Host_DeviceEnumerationComplete(void);
void ReadNextReport(void);
void EVENT_USB_Host_DeviceEnumerationComplete(void);
void ReadNextReport(void);
- void WriteNextReport(uint8_t* ReportOUTData, uint8_t ReportIndex, uint8_t ReportType, uint16_t ReportLength);
+ void WriteNextReport(uint8_t* ReportOUTData,
+ const uint8_t ReportIndex,
+ const uint8_t ReportType,
+ uint16_t ReportLength);
#endif
#endif