projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
958a1b4
)
Remove remainder of data pipe interrupt management code from the host demos.
author
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 12 May 2009 12:59:57 +0000
(12:59 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 12 May 2009 12:59:57 +0000
(12:59 +0000)
Demos/Host/GenericHIDHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/KeyboardHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/MouseHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
diff --git
a/Demos/Host/GenericHIDHost/ConfigDescriptor.c
b/Demos/Host/GenericHIDHost/ConfigDescriptor.c
index
7dc7d3e
..
ef99359
100644
(file)
--- a/
Demos/Host/GenericHIDHost/ConfigDescriptor.c
+++ b/
Demos/Host/GenericHIDHost/ConfigDescriptor.c
@@
-102,13
+102,6
@@
uint8_t ProcessConfigurationDescriptor(void)
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
-
\r
- #if defined(INTERRUPT_DATA_PIPE)
\r
- Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
\r
-
\r
- /* Enable the pipe IN interrupt for the data pipe */
\r
- USB_INT_Enable(PIPE_INT_IN);
\r
- #endif
\r
\r
FoundEndpoints |= (1 << HID_DATA_IN_PIPE);
\r
}
\r
\r
FoundEndpoints |= (1 << HID_DATA_IN_PIPE);
\r
}
\r
diff --git
a/Demos/Host/KeyboardHost/ConfigDescriptor.c
b/Demos/Host/KeyboardHost/ConfigDescriptor.c
index
0b475bf
..
303f06d
100644
(file)
--- a/
Demos/Host/KeyboardHost/ConfigDescriptor.c
+++ b/
Demos/Host/KeyboardHost/ConfigDescriptor.c
@@
-91,13
+91,6
@@
uint8_t ProcessConfigurationDescriptor(void)
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
-
\r
- #if defined(INTERRUPT_DATA_PIPE)
\r
- Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
\r
-
\r
- /* Enable the pipe IN interrupt for the data pipe */
\r
- USB_INT_Enable(PIPE_INT_IN);
\r
- #endif
\r
\r
/* Valid data found, return success */
\r
return SuccessfulConfigRead;
\r
\r
/* Valid data found, return success */
\r
return SuccessfulConfigRead;
\r
diff --git
a/Demos/Host/MouseHost/ConfigDescriptor.c
b/Demos/Host/MouseHost/ConfigDescriptor.c
index
ef53e7c
..
f29eda1
100644
(file)
--- a/
Demos/Host/MouseHost/ConfigDescriptor.c
+++ b/
Demos/Host/MouseHost/ConfigDescriptor.c
@@
-91,13
+91,6
@@
uint8_t ProcessConfigurationDescriptor(void)
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
\r
\r
Pipe_SetInfiniteINRequests();
\r
-
\r
- #if defined(INTERRUPT_DATA_PIPE)
\r
- Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
\r
-
\r
- /* Enable the pipe IN interrupt for the data pipe */
\r
- USB_INT_Enable(PIPE_INT_IN);
\r
- #endif
\r
\r
/* Valid data found, return success */
\r
return SuccessfulConfigRead;
\r
\r
/* Valid data found, return success */
\r
return SuccessfulConfigRead;
\r