We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94ab07 commit 27e5a8fCopy full SHA for 27e5a8f
subsys/usb/device/class/cdc_acm.c
@@ -823,7 +823,7 @@ static int cdc_acm_line_ctrl_set(const struct device *dev,
823
if (val) {
824
dev_data->serial_state |= SERIAL_STATE_RX_CARRIER;
825
}
826
- cdc_acm_send_notification(dev, SERIAL_STATE_RX_CARRIER);
+ cdc_acm_send_notification(dev, dev_data->serial_state);
827
return 0;
828
case USB_CDC_LINE_CTRL_DSR:
829
dev_data->serial_state &= ~SERIAL_STATE_TX_CARRIER;
0 commit comments