projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation enhancements.
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
MouseHost
/
MouseHost.c
diff --git
a/Demos/Host/LowLevel/MouseHost/MouseHost.c
b/Demos/Host/LowLevel/MouseHost/MouseHost.c
index
6e7b284
..
05efa25
100644
(file)
--- a/
Demos/Host/LowLevel/MouseHost/MouseHost.c
+++ b/
Demos/Host/LowLevel/MouseHost/MouseHost.c
@@
-112,7
+112,8
@@
void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while
* enumerating an attached USB device.
*/
/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while
* enumerating an attached USB device.
*/
-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)
{
printf_P(PSTR(ESC_FG_RED "Dev Enum Error\r\n"
" -- Error Code %d\r\n"
{
printf_P(PSTR(ESC_FG_RED "Dev Enum Error\r\n"
" -- Error Code %d\r\n"
@@
-131,7
+132,7
@@
void ReadNextReport(void)
uint8_t LEDMask = LEDS_NO_LEDS;
/* Select mouse data pipe */
uint8_t LEDMask = LEDS_NO_LEDS;
/* Select mouse data pipe */
- Pipe_SelectPipe(MOUSE_DATA
PIPE);
+ Pipe_SelectPipe(MOUSE_DATA
_IN_PIPE);
/* Unfreeze keyboard data pipe */
Pipe_Unfreeze();
/* Unfreeze keyboard data pipe */
Pipe_Unfreeze();