projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add const attribute to class driver APIs.
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
StillImage.c
diff --git
a/LUFA/Drivers/USB/Class/Host/StillImage.c
b/LUFA/Drivers/USB/Class/Host/StillImage.c
index
c176310
..
f98f508
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/StillImage.c
+++ b/
LUFA/Drivers/USB/Class/Host/StillImage.c
@@
-101,7
+101,7
@@
uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, u
return SI_ENUMERROR_NoError;
\r
}
\r
\r
return SI_ENUMERROR_NoError;
\r
}
\r
\r
-uint8_t DComp_SI_Host_NextSIInterface(void* CurrentDescriptor)
\r
+uint8_t DComp_SI_Host_NextSIInterface(void*
const
CurrentDescriptor)
\r
{
\r
if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Interface)
\r
{
\r
{
\r
if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Interface)
\r
{
\r
@@
-119,7
+119,7
@@
uint8_t DComp_SI_Host_NextSIInterface(void* CurrentDescriptor)
return DESCRIPTOR_SEARCH_NotFound;
\r
}
\r
\r
return DESCRIPTOR_SEARCH_NotFound;
\r
}
\r
\r
-uint8_t DComp_SI_Host_NextSIInterfaceEndpoint(void* CurrentDescriptor)
\r
+uint8_t DComp_SI_Host_NextSIInterfaceEndpoint(void*
const
CurrentDescriptor)
\r
{
\r
if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint)
\r
{
\r
{
\r
if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint)
\r
{
\r