diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-13 10:01:13 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-13 10:01:13 +0000 |
commit | 03130342451003093e654edc5b031718d544e9ba (patch) | |
tree | cffce32c4ada3ec192a8fdcb44b47b2f239e1701 /LUFA/Drivers/USB/Class/Host/CDC.c | |
parent | 3a3a4e2abf7ac55dcc438ad95e7c11f9566b825f (diff) | |
download | lufa-03130342451003093e654edc5b031718d544e9ba.tar.gz lufa-03130342451003093e654edc5b031718d544e9ba.tar.bz2 lufa-03130342451003093e654edc5b031718d544e9ba.zip |
Added const attributes to some of the class driver function parameters that were missing it.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/CDC.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDC.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.c b/LUFA/Drivers/USB/Class/Host/CDC.c index 5679a7c2a..9521a85b4 100644 --- a/LUFA/Drivers/USB/Class/Host/CDC.c +++ b/LUFA/Drivers/USB/Class/Host/CDC.c @@ -399,13 +399,13 @@ uint8_t CDC_Host_Flush(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo) return PIPE_READYWAIT_NoError; } -void CDC_Host_CreateStream(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo, FILE* Stream) +void CDC_Host_CreateStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, FILE* const Stream) { *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar, _FDEV_SETUP_RW); fdev_set_udata(Stream, CDCInterfaceInfo); } -void CDC_Host_CreateBlockingStream(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo, FILE* Stream) +void CDC_Host_CreateBlockingStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, FILE* const Stream) { *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar_Blocking, _FDEV_SETUP_RW); fdev_set_udata(Stream, CDCInterfaceInfo); |