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
/
VirtualSerialHost
/
VirtualSerialHost.c
diff --git
a/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.c
b/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.c
index
8bec8e5
..
91775b7
100644
(file)
--- a/
Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.c
+++ b/
Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.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"
@@
-172,7
+173,7
@@
void CDC_Host_Task(void)
break;
case HOST_STATE_Configured:
/* Select the data IN pipe */
break;
case HOST_STATE_Configured:
/* Select the data IN pipe */
- Pipe_SelectPipe(CDC_DATA
PIPE_IN
);
+ Pipe_SelectPipe(CDC_DATA
_IN_PIPE
);
Pipe_Unfreeze();
/* Check to see if a packet has been received */
Pipe_Unfreeze();
/* Check to see if a packet has been received */
@@
-204,7
+205,7
@@
void CDC_Host_Task(void)
Pipe_Freeze();
/* Select and unfreeze the notification pipe */
Pipe_Freeze();
/* Select and unfreeze the notification pipe */
- Pipe_SelectPipe(CDC_NOTIFICATIONPIPE);
+ Pipe_SelectPipe(CDC_NOTIFICATION
_
PIPE);
Pipe_Unfreeze();
/* Check if a packet has been received */
Pipe_Unfreeze();
/* Check if a packet has been received */