aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Pipe.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:08:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:08:39 +0000
commit9d6a373cb61b55b94312de3809ac76fcbd0a696c (patch)
tree7dc8388b4f9476a4da3ed53a8406c73bed65cdcc /LUFA/Drivers/USB/LowLevel/Pipe.c
parent7478b387a96fa1d11e02ee8ee8f5d4c2ed2158d1 (diff)
downloadlufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.tar.gz
lufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.tar.bz2
lufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.zip
Add const qualifiers to Host mode Class drivers.
Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.c b/LUFA/Drivers/USB/LowLevel/Pipe.c
index 58d7343b0..400cc5f02 100644
--- a/LUFA/Drivers/USB/LowLevel/Pipe.c
+++ b/LUFA/Drivers/USB/LowLevel/Pipe.c
@@ -70,7 +70,7 @@ void Pipe_ClearPipes(void)
}
}
-bool Pipe_IsEndpointBound(uint8_t EndpointAddress)
+bool Pipe_IsEndpointBound(const uint8_t EndpointAddress)
{
uint8_t PrevPipeNumber = Pipe_GetCurrentPipe();