diff options
author | Dean Camera <[email protected]> | 2009-06-28 13:39:08 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-06-28 13:39:08 +0000 |
commit | f1076ac4d6e56bff7fb6d2126746af1108211370 (patch) | |
tree | 9a5f31cc5ff9c648d7ce63f1d9e8afab763d2801 /Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c | |
parent | 3cbdcd36868693cfc1863231a1ec64507ce3d29f (diff) | |
download | qmk_firmware-f1076ac4d6e56bff7fb6d2126746af1108211370.tar.gz qmk_firmware-f1076ac4d6e56bff7fb6d2126746af1108211370.zip |
Added const modifiers to device mode class drivers.
Added parameter directions to function parameter documentation.
Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
Diffstat (limited to 'Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c')
-rw-r--r-- | Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c index a2ba253d24..ac63f0f9fc 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c +++ b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c @@ -158,9 +158,9 @@ ISR(USART1_RX_vect, ISR_BLOCK) /** Event handler for the CDC Class driver Line Encoding Changed event.
*
- * \param CDCInterfaceInfo Pointer to the CDC class interface configuration structure being referenced
+ * \param[in] CDCInterfaceInfo Pointer to the CDC class interface configuration structure being referenced
*/
-void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* CDCInterfaceInfo)
+void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo)
{
uint8_t ConfigMask = 0;
|