aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c')
-rw-r--r--Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c4
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;