Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
da007db1
Commit
da007db1
authored
May 12, 2009
by
Dean Camera
Browse files
Remove remainder of data pipe interrupt management code from the host demos.
parent
958a1b4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Demos/Host/GenericHIDHost/ConfigDescriptor.c
View file @
da007db1
...
...
@@ -102,13 +102,6 @@ uint8_t ProcessConfigurationDescriptor(void)
EndpointData
->
EndpointAddress
,
EndpointData
->
EndpointSize
,
PIPE_BANK_SINGLE
);
Pipe_SetInfiniteINRequests
();
#if defined(INTERRUPT_DATA_PIPE)
Pipe_SetInterruptPeriod
(
EndpointData
->
PollingIntervalMS
);
/* Enable the pipe IN interrupt for the data pipe */
USB_INT_Enable
(
PIPE_INT_IN
);
#endif
FoundEndpoints
|=
(
1
<<
HID_DATA_IN_PIPE
);
}
...
...
Demos/Host/KeyboardHost/ConfigDescriptor.c
View file @
da007db1
...
...
@@ -91,13 +91,6 @@ uint8_t ProcessConfigurationDescriptor(void)
EndpointData
->
EndpointAddress
,
EndpointData
->
EndpointSize
,
PIPE_BANK_SINGLE
);
Pipe_SetInfiniteINRequests
();
#if defined(INTERRUPT_DATA_PIPE)
Pipe_SetInterruptPeriod
(
EndpointData
->
PollingIntervalMS
);
/* Enable the pipe IN interrupt for the data pipe */
USB_INT_Enable
(
PIPE_INT_IN
);
#endif
/* Valid data found, return success */
return
SuccessfulConfigRead
;
...
...
Demos/Host/MouseHost/ConfigDescriptor.c
View file @
da007db1
...
...
@@ -91,13 +91,6 @@ uint8_t ProcessConfigurationDescriptor(void)
EndpointData
->
EndpointAddress
,
EndpointData
->
EndpointSize
,
PIPE_BANK_SINGLE
);
Pipe_SetInfiniteINRequests
();
#if defined(INTERRUPT_DATA_PIPE)
Pipe_SetInterruptPeriod
(
EndpointData
->
PollingIntervalMS
);
/* Enable the pipe IN interrupt for the data pipe */
USB_INT_Enable
(
PIPE_INT_IN
);
#endif
/* Valid data found, return success */
return
SuccessfulConfigRead
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment