From c212d19cd4228971e987f72577635a17ee2d1310 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Mon, 15 Aug 2022 18:06:48 +0100 Subject: [PATCH] usb/cdc: Added a definition for the GET_LINE_CODING class-specific request --- include/libopencm3/usb/cdc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/libopencm3/usb/cdc.h b/include/libopencm3/usb/cdc.h index 6e57a565..2a22ea40 100644 --- a/include/libopencm3/usb/cdc.h +++ b/include/libopencm3/usb/cdc.h @@ -118,7 +118,7 @@ struct usb_cdc_acm_descriptor { /* Table 13: Class-Specific Request Codes for PSTN subclasses */ /* ... */ #define USB_CDC_REQ_SET_LINE_CODING 0x20 -/* ... */ +#define USB_CDC_REQ_GET_LINE_CODING 0x21 #define USB_CDC_REQ_SET_CONTROL_LINE_STATE 0x22 /* ... */ @@ -161,4 +161,3 @@ struct usb_cdc_notification { #endif /**@}*/ -