projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationC...
[pub/USBasp.git]
/
Demos
/
Host
/
Incomplete
/
AndroidAccessoryHost
/
AndroidAccessoryHost.h
diff --git
a/Demos/Host/Incomplete/AndroidAccessoryHost/AndroidAccessoryHost.h
b/Demos/Host/Incomplete/AndroidAccessoryHost/AndroidAccessoryHost.h
index
59f49c5
..
6c8702f
100644
(file)
--- a/
Demos/Host/Incomplete/AndroidAccessoryHost/AndroidAccessoryHost.h
+++ b/
Demos/Host/Incomplete/AndroidAccessoryHost/AndroidAccessoryHost.h
@@
-70,6
+70,10
@@
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
#define LEDMASK_USB_BUSY LEDS_LED2
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
#define LEDMASK_USB_BUSY LEDS_LED2
+ /* Function Prototypes: */
+ void SetupHardware(void);
+ void AndroidHost_Task(void);
+
/* Event Handlers: */
void EVENT_USB_Host_DeviceAttached(void);
void EVENT_USB_Host_DeviceUnattached(void);
/* Event Handlers: */
void EVENT_USB_Host_DeviceAttached(void);
void EVENT_USB_Host_DeviceUnattached(void);
@@
-78,9
+82,5
@@
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);
- /* Function Prototypes: */
- void Android_Host_Task(void);
- void SetupHardware(void);
-
#endif
#endif